summaryrefslogtreecommitdiffstats
path: root/hooks/udev
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-04-30 22:06:56 +0200
committerThomas Bächler <thomas@archlinux.org>2011-05-01 12:46:48 +0200
commit31f99cb49849cc64873606b1fca9b81fbaf9795d (patch)
treee6f4f2a971f11f2f5efda2acbdaa4b1c164479e5 /hooks/udev
parentf4b5342d99b9eb40d67bbdfc698da63f74858909 (diff)
downloadmkinitcpio-31f99cb49849cc64873606b1fca9b81fbaf9795d.tar.gz
mkinitcpio-31f99cb49849cc64873606b1fca9b81fbaf9795d.tar.xz
Trigger udev events like in initscripts
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'hooks/udev')
-rw-r--r--hooks/udev3
1 files changed, 2 insertions, 1 deletions
diff --git a/hooks/udev b/hooks/udev
index c7cf162..0340a9c 100644
--- a/hooks/udev
+++ b/hooks/udev
@@ -2,7 +2,8 @@
run_hook ()
{
msg -n ":: Triggering uevents..."
- /sbin/udevadm trigger --action=add
+ /sbin/udevadm trigger --action=add --type=subsystems
+ /sbin/udevadm trigger --action=add --type=devices
/sbin/udevadm settle
msg "done."
}