From 659cf8c983c46bc17eb167fa513a0697571e945b Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sun, 5 Dec 2010 00:22:45 +0100 Subject: 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). --- rc.single | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rc.single') 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 -- cgit v1.2.3