summaryrefslogtreecommitdiff
path: root/rc.single
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2009-11-06 00:05:19 +0100
committerThomas Bächler <thomas@archlinux.org>2009-11-06 00:05:19 +0100
commit08aa5bebdf76b005a7c81acd08b8641b2dea1ee7 (patch)
tree8fdc7d07166df4c3aff7b135055fc50159fa3b8a /rc.single
parentaac1c1159995f9f0d2e9557119604affa43b68f8 (diff)
Correct last commit: Unset the STARTUP=1 variable in udevadm control only after udev has settled
Diffstat (limited to 'rc.single')
-rwxr-xr-xrc.single2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.single b/rc.single
index f336ec4..15eb1e8 100755
--- a/rc.single
+++ b/rc.single
@@ -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