diff options
author | 2018-04-15 23:29:29 -0300 | |
---|---|---|
committer | 2018-04-16 07:34:46 +0200 | |
commit | b77c9d265ed678ec6c0ad9c1e1e5c6ada7206ced (patch) | |
tree | 690f99b580b5ab501bcdd4c6bff3e8095af0b91d /package/netplug | |
parent | 52333fea3035412d35096310b7e1e9da576c66e1 (diff) | |
download | buildroot-b77c9d265ed678ec6c0ad9c1e1e5c6ada7206ced.tar.gz buildroot-b77c9d265ed678ec6c0ad9c1e1e5c6ada7206ced.tar.bz2 |
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 <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/netplug')
-rwxr-xr-x | package/netplug/S29netplug | 2 |
1 files changed, 0 insertions, 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 |