diff options
author | Thomas Bächler <thomas@archlinux.org> | 2009-11-06 00:05:19 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2009-11-06 00:05:19 +0100 |
commit | 08aa5bebdf76b005a7c81acd08b8641b2dea1ee7 (patch) | |
tree | 8fdc7d07166df4c3aff7b135055fc50159fa3b8a | |
parent | aac1c1159995f9f0d2e9557119604affa43b68f8 (diff) | |
download | initscripts-08aa5bebdf76b005a7c81acd08b8641b2dea1ee7.tar.xz |
Correct last commit: Unset the STARTUP=1 variable in udevadm control only after udev has settled
-rwxr-xr-x | rc.single | 2 | ||||
-rwxr-xr-x | rc.sysinit | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -54,7 +54,6 @@ if [ "$PREVLEVEL" != "N" ]; then stat_busy "Triggering UDev uevents" /sbin/udevadm control --property=STARTUP=1 /sbin/udevadm trigger - /sbin/udevadm control --property=STARTUP= stat_done fi @@ -62,6 +61,7 @@ if [ "$PREVLEVEL" != "N" ]; then if /bin/pidof -o %PPID /sbin/udevd >/dev/null; then stat_busy "Waiting for UDev uevents to be processed" /sbin/udevadm settle + /sbin/udevadm control --property=STARTUP= stat_done fi @@ -74,7 +74,6 @@ if /bin/pidof -o %PPID /sbin/udevd >/dev/null; then stat_busy "Triggering UDev uevents" /sbin/udevadm control --property=STARTUP=1 /sbin/udevadm trigger - /sbin/udevadm control --property=STARTUP= stat_done fi @@ -95,6 +94,7 @@ fi if /bin/pidof -o %PPID /sbin/udevd >/dev/null; then stat_busy "Waiting for UDev uevents to be processed" /sbin/udevadm settle + /sbin/udevadm control --property=STARTUP= stat_done fi |