network-manager: S45network-manager: don't use pidof -o option
The pidof -o option is only available in the Busybox applet if CONFIG_FEATURE_PIDOF_OMIT is enabled, and it isn't really needed here as the init script isn't called 'NetworkManager', so get rid of it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
067570a39f
commit
7a6d8bf5d8
@ -8,7 +8,7 @@ NETWORKMANAGER_BIN=${sbindir}/NetworkManager
|
||||
|
||||
[ -x $NETWORKMANAGER_BIN ] || exit 0
|
||||
|
||||
PID=`pidof -o %PPID NetworkManager`
|
||||
PID=`pidof NetworkManager`
|
||||
case "$1" in
|
||||
start)
|
||||
echo -n "Starting NetworkManager ... "
|
||||
|
Loading…
Reference in New Issue
Block a user