aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2006-03-24 02:26:04 +0000
committerPeter Jones <pjones@redhat.com>2006-03-24 02:26:04 +0000
commit2a11a3e64d43ef85e91de1051fad9d63d568ff07 (patch)
tree935d526644ec45bd953f5469443d6dc57dec702b /rc.d
parent2fe3435c00d8866a41024d2a5277259b61cadd5a (diff)
downloadinitscripts-2a11a3e64d43ef85e91de1051fad9d63d568ff07.tar
initscripts-2a11a3e64d43ef85e91de1051fad9d63d568ff07.tar.gz
initscripts-2a11a3e64d43ef85e91de1051fad9d63d568ff07.tar.bz2
initscripts-2a11a3e64d43ef85e91de1051fad9d63d568ff07.tar.xz
initscripts-2a11a3e64d43ef85e91de1051fad9d63d568ff07.zip
- killall is in /usr , so we need to use pidof here. (bz 185429)
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 3 insertions, 1 deletions
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