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.sysinit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rc.sysinit') diff --git a/rc.sysinit b/rc.sysinit index 09d5e97..7826f47 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -87,7 +87,8 @@ run_hook sysinit_udevlaunched 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-54-g00ecf