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:
Peter Korsgaard 2014-11-26 16:16:13 +01:00
parent 067570a39f
commit 7a6d8bf5d8
1 changed files with 1 additions and 1 deletions

View File

@ -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 ... "