From 7a6d8bf5d8ed299f4457276ffa994b409cb0d9ca Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 26 Nov 2014 16:16:13 +0100 Subject: [PATCH] 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 --- package/network-manager/S45network-manager | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network-manager/S45network-manager b/package/network-manager/S45network-manager index 78808912bf..5f32398e6b 100755 --- a/package/network-manager/S45network-manager +++ b/package/network-manager/S45network-manager @@ -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 ... " -- 2.30.2