projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52333fe
)
netplug: don't test if the binary exists in the init script
author
Carlos Santos
<casantos@datacom.ind.br>
Mon, 16 Apr 2018 02:29:29 +0000
(23:29 -0300)
committer
Thomas Petazzoni
<thomas.petazzoni@bootlin.com>
Mon, 16 Apr 2018 05:34:46 +0000
(07:34 +0200)
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>
package/netplug/S29netplug
patch
|
blob
|
history
diff --git
a/package/netplug/S29netplug
b/package/netplug/S29netplug
index d3df9ddff538c8d99d3c8312dcf2bb59882326d0..03422499d653c84dd5e6a40316e0c960e66c1702 100755
(executable)
--- 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