aboutsummaryrefslogtreecommitdiff
path: root/rc.single
diff options
context:
space:
mode:
Diffstat (limited to 'rc.single')
-rwxr-xr-xrc.single9
1 files changed, 3 insertions, 6 deletions
diff --git a/rc.single b/rc.single
index b9701d5..06bd83c 100755
--- a/rc.single
+++ b/rc.single
@@ -19,18 +19,15 @@ if [[ $PREVLEVEL != N ]]; then
# Trigger udev uevents
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
# Wait for udev uevents
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
+ status "Waiting for UDev uevents to be processed" \
+ /sbin/udevadm settle --quiet --timeout=${UDEV_TIMEOUT:-30}
fi
run_hook single_udevsettled