summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-01-12 21:31:52 +0100
committerThomas Bächler <thomas@archlinux.org>2010-01-12 21:31:52 +0100
commit2538c6ce3382a394524d8a0f6a545f1a9f86ddbf (patch)
tree1b3f144a50f1517f84e2604ca3f31b9409f609d8
parent9ca9d2fbf0af1f37678fb9835045141ac0cfc049 (diff)
downloadmkinitcpio-2538c6ce3382a394524d8a0f6a545f1a9f86ddbf.tar.gz
mkinitcpio-2538c6ce3382a394524d8a0f6a545f1a9f86ddbf.tar.xz
Replace custom minips with busybox pidof
-rw-r--r--init2
1 files changed, 1 insertions, 1 deletions
diff --git a/init b/init
index 94db351..4904d12 100644
--- a/init
+++ b/init
@@ -101,7 +101,7 @@ if [ -f "/message" ]; then
fi
#Special handling if udev is running
-udevpid=$(/bin/minips -C udevd -o pid=)
+udevpid=$(/bin/pidof udevd)
if [ -n "${udevpid}" ]; then
/bin/kill -9 ${udevpid} > /dev/null 2>&1
/bin/sleep 0.01