diff mbox series

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

Message ID 20180416022944.13644-12-casantos@datacom.ind.br
State Accepted
Headers show
Series init scripts: don't test if binaries exist | expand

Commit Message

Carlos Santos April 16, 2018, 2:29 a.m. UTC
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@datacom.ind.br>
---
 package/netplug/S29netplug | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

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