From 31f99cb49849cc64873606b1fca9b81fbaf9795d Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Sat, 30 Apr 2011 17:06:56 -0300 Subject: Trigger udev events like in initscripts Signed-off-by: Gerardo Exequiel Pozzi --- hooks/udev | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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." } -- cgit v1.2.3-24-g4f1b