diff options
author | Tom Gundersen <teg@jklm.no> | 2011-04-24 20:45:08 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2011-04-24 18:47:21 +0200 |
commit | cd0ec05a9682ccaaf8d288ab4685edf1c311ec8f (patch) | |
tree | 7247432e7e9364987b90326eae833bc0a0771687 | |
parent | 81489b747d718e80cd0a6115616602ef4137fc40 (diff) |
pidof: don't use -o %PPID
No need to ommit the parent process, as it's name will not
coincide with udevd.
Original-patch-by: David Reisner <d@falconindy.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
-rwxr-xr-x | rc.sysinit | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -88,7 +88,7 @@ status "Starting UDev Daemon" /sbin/udevd --daemon run_hook sysinit_udevlaunched # Trigger udev uevents -if /bin/pidof -o %PPID /sbin/udevd >/dev/null; then +if /bin/pidof /sbin/udevd >/dev/null; then stat_busy "Triggering UDev uevents" /sbin/udevadm trigger --action=add --type=devices /sbin/udevadm trigger --action=add --type=subsystems @@ -103,7 +103,7 @@ fi unset mods # Wait for udev uevents -if /bin/pidof -o %PPID /sbin/udevd >/dev/null; then +if /bin/pidof /sbin/udevd >/dev/null; then status "Waiting for UDev uevents to be processed" \ /sbin/udevadm settle --quiet --timeout=${UDEV_TIMEOUT:-30} fi |