From: Carlos Santos Date: Mon, 16 Apr 2018 02:29:29 +0000 (-0300) Subject: netplug: don't test if the binary exists in the init script X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b77c9d265ed678ec6c0ad9c1e1e5c6ada7206ced;p=buildroot.git 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 --- 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