mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
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:
@@ -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 ... "
|
||||
|
||||
Reference in New Issue
Block a user