[arch-dev-public] [PATCH 3/6] Don't background the udevadm trigger call
Dan McGee
dan at archlinux.org
Sun Aug 16 00:55:26 EDT 2009
This operation doesn't block for more than a half second, and backgrounding
it invites race conditions if the settle operation ends up actually getting
executed first. My slice won't even boot without this change.
Signed-off-by: Dan McGee <dan at archlinux.org>
---
rc.sysinit | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/rc.sysinit b/rc.sysinit
index 0e67721..96966fb 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -71,7 +71,7 @@ fi
# Trigger udev uevents
if /bin/pidof -o %PPID /sbin/udevd >/dev/null; then
stat_busy "Triggering UDev uevents"
- /sbin/udevadm trigger &
+ /sbin/udevadm trigger
stat_done
fi
--
1.6.4
More information about the arch-dev-public
mailing list