aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-04-30 15:41:11 -0300
committerTom Gundersen <teg@jklm.no>2011-04-30 21:20:28 +0200
commit05d4eaa92f004f066e47de0453384563f2c5f867 (patch)
treeb0e4fcaccd51ac133a916e14270ea40b49a781b5
parent8dcc8d0e030aa4b84f02d1a862335afd74b772e8 (diff)
downloadinitscripts-05d4eaa92f004f066e47de0453384563f2c5f867.tar.xz
Change udev trigger order
Respect the order documented at udev README and systemd files. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by: Tom Gundersen <teg@jklm.no>
-rwxr-xr-xrc.single2
-rwxr-xr-xrc.sysinit2
2 files changed, 2 insertions, 2 deletions
diff --git a/rc.single b/rc.single
index b9701d5..8c3358f 100755
--- a/rc.single
+++ b/rc.single
@@ -20,8 +20,8 @@ if [[ $PREVLEVEL != N ]]; then
if /bin/pidof -o %PPID /sbin/udevd >/dev/null; then
stat_busy "Triggering UDev uevents"
/sbin/udevadm control --property=STARTUP=1
- /sbin/udevadm trigger --action=add --type=devices
/sbin/udevadm trigger --action=add --type=subsystems
+ /sbin/udevadm trigger --action=add --type=devices
stat_done
fi
diff --git a/rc.sysinit b/rc.sysinit
index 2262d32..dc4be58 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -90,8 +90,8 @@ run_hook sysinit_udevlaunched
# Trigger udev uevents
if /bin/pidof /sbin/udevd &>/dev/null; then
stat_busy "Triggering UDev uevents"
- /sbin/udevadm trigger --action=add --type=devices
/sbin/udevadm trigger --action=add --type=subsystems
+ /sbin/udevadm trigger --action=add --type=devices
stat_done
fi