From 08aa5bebdf76b005a7c81acd08b8641b2dea1ee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20B=C3=A4chler?= Date: Fri, 6 Nov 2009 00:05:19 +0100 Subject: Correct last commit: Unset the STARTUP=1 variable in udevadm control only after udev has settled --- rc.single | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.single') 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 -- cgit v1.2.2