mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 05:51:45 -09:00
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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
52333fea30
commit
b77c9d265e
@@ -32,8 +32,6 @@ elif [ ! -f /etc/network/interfaces ]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -x /sbin/netplugd ] || exit 0
|
|
||||||
|
|
||||||
if [ -f /etc/sysconfig/netplugd ]; then
|
if [ -f /etc/sysconfig/netplugd ]; then
|
||||||
. /etc/sysconfig/netplugd
|
. /etc/sysconfig/netplugd
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user