systemd: add hwdb.service

This commit is contained in:
Stefan Saraev 2013-10-22 21:10:16 +03:00
parent aabb4fdf41
commit e0166f1fdb
2 changed files with 13 additions and 0 deletions

View File

@ -191,4 +191,5 @@ post_install() {
enable_service machine-id.service
enable_service debugconfig.service
enable_service userconfig.service
enable_service hwdb.service
}

View File

@ -0,0 +1,12 @@
[Unit]
Description=Update hwdb.bin
DefaultDependencies=no
After=systemd-tmpfiles-setup.service
Before=systemd-udevd.service
[Service]
Type=oneshot
ExecStart=-/bin/udevadm hwdb --update
[Install]
WantedBy=basic.target