From b77c9d265ed678ec6c0ad9c1e1e5c6ada7206ced Mon Sep 17 00:00:00 2001 From: Carlos Santos Date: Sun, 15 Apr 2018 23:29:29 -0300 Subject: [PATCH] netplug: don't test if the binary exists in the init script 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 Signed-off-by: Thomas Petazzoni --- 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.30.2