aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core/udev/udev/init
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-core/udev/udev/init')
-rw-r--r--meta-oe/recipes-core/udev/udev/init8
1 files changed, 3 insertions, 5 deletions
diff --git a/meta-oe/recipes-core/udev/udev/init b/meta-oe/recipes-core/udev/udev/init
index ecc357d4f..d160300ab 100644
--- a/meta-oe/recipes-core/udev/udev/init
+++ b/meta-oe/recipes-core/udev/udev/init
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/sh
### BEGIN INIT INFO
# Provides: udev
@@ -18,10 +18,8 @@ export TZ=/etc/localtime
[ -f /etc/udev/udev.conf ] && . /etc/udev/udev.conf
kill_udevd() {
- if [ -x /sbin/pidof ]; then
- pid=`/sbin/pidof -x udevd`
- [ -n "$pid" ] && kill $pid
- fi
+ pid=`pidof -x udevd`
+ [ -n "$pid" ] && kill $pid
}
export ACTION=add