diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-06-06 09:22:43 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-06-06 09:22:43 -0400 |
commit | 6237ecf456b95ac37864cf91df9cd02795a529d4 (patch) | |
tree | 6c26858ed69113ecc091964324d2b56292a78fe4 /libre-testing/systemd/initcpio-hook-udev | |
parent | 1c27f57b1a28074a50e05aaa73c47ef55127e318 (diff) | |
parent | 5cd5d2171660435cd34470577be150e2a01d1b5e (diff) | |
download | abslibre-6237ecf456b95ac37864cf91df9cd02795a529d4.tar.gz abslibre-6237ecf456b95ac37864cf91df9cd02795a529d4.tar.bz2 abslibre-6237ecf456b95ac37864cf91df9cd02795a529d4.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre-testing/systemd/initcpio-hook-udev')
-rw-r--r-- | libre-testing/systemd/initcpio-hook-udev | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libre-testing/systemd/initcpio-hook-udev b/libre-testing/systemd/initcpio-hook-udev new file mode 100644 index 000000000..75da7e4a8 --- /dev/null +++ b/libre-testing/systemd/initcpio-hook-udev @@ -0,0 +1,20 @@ +#!/usr/bin/ash + +run_earlyhook() { + udevd --daemon --resolve-names=never + udevd_running=1 +} + +run_hook() { + msg ":: Triggering uevents..." + udevadm trigger --action=add --type=subsystems + udevadm trigger --action=add --type=devices + udevadm settle +} + +run_cleanuphook() { + udevadm control --exit + udevadm info --cleanup-db +} + +# vim: set ft=sh ts=4 sw=4 et: |