From 2a11a3e64d43ef85e91de1051fad9d63d568ff07 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Fri, 24 Mar 2006 02:26:04 +0000 Subject: - killall is in /usr , so we need to use pidof here. (bz 185429) --- rc.d/rc.sysinit | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index d4400463..b6421172 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -165,7 +165,9 @@ fi touch /dev/.in_sysinit >/dev/null 2>&1 -killall nash-hotplug >/dev/null 2>&1 +nashpid=$(pidof nash 2>/dev/null) +[ -n "$nashpid" ] && kill $nashpid >/dev/null 2>&1 +unset nashpid /sbin/start_udev # Load other user-defined modules -- cgit v1.2.1