aboutsummaryrefslogtreecommitdiff
path: root/rc.single
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2010-12-05 00:22:45 +0100
committerTom Gundersen <teg@jklm.no>2010-12-06 11:07:40 +0100
commit659cf8c983c46bc17eb167fa513a0697571e945b (patch)
treefeb34b3e72e9e3fed27875df8fb8cd33975e4ea9 /rc.single
parenta7fde2a54bec29b8c56f641c0eca46a24fabda2c (diff)
downloadinitscripts-659cf8c983c46bc17eb167fa513a0697571e945b.tar.xz
udevadm: trigger events of type subsystems as well as devices
The standard type to trigger is devices. This patch makes the type explicit and also triggers events of type subsystems. This is what is done upstream (in udev's systemd service files).
Diffstat (limited to 'rc.single')
-rwxr-xr-xrc.single3
1 files changed, 2 insertions, 1 deletions
diff --git a/rc.single b/rc.single
index 2e757d9..4d22cf1 100755
--- a/rc.single
+++ b/rc.single
@@ -20,7 +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
+ /sbin/udevadm trigger --action=add --type=devices
+ /sbin/udevadm trigger --action=add --type=subsystems
stat_done
fi