aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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