[Buildroot] [PATCH 11/26] netplug: don't test if the binary exists in the init script

Carlos Santos casantos at datacom.ind.br
Mon Apr 16 02:29:29 UTC 2018


The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos at datacom.ind.br>
---
 package/netplug/S29netplug | 2 --
 1 file changed, 2 deletions(-)

diff --git a/package/netplug/S29netplug b/package/netplug/S29netplug
index d3df9ddff5..03422499d6 100755
--- a/package/netplug/S29netplug
+++ b/package/netplug/S29netplug
@@ -32,8 +32,6 @@ elif [ ! -f /etc/network/interfaces ]; then
 	exit 0
 fi
 
-[ -x /sbin/netplugd ] || exit 0
-
 if [ -f /etc/sysconfig/netplugd ]; then
     . /etc/sysconfig/netplugd
 fi
-- 
2.14.3



More information about the buildroot mailing list