summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Santos <casantos@datacom.ind.br>2018-04-15 23:29:21 -0300
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-16 07:34:36 +0200
commit48e688ac16c03a313e7446be4f9ac7b57ab6caf8 (patch)
tree9eaf1e7b4c10e16443886ec07ba3c1e14f25b7eb
parent7183a0eff9d1d2190b257b5d5cdc54f4cb6b00a7 (diff)
downloadbuildroot-48e688ac16c03a313e7446be4f9ac7b57ab6caf8.tar.gz
buildroot-48e688ac16c03a313e7446be4f9ac7b57ab6caf8.zip
dhcpcd: 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>
-rwxr-xr-xpackage/dhcpcd/S41dhcpcd1
1 files changed, 0 insertions, 1 deletions
diff --git a/package/dhcpcd/S41dhcpcd b/package/dhcpcd/S41dhcpcd
index a2e87ca054..3e5c22f715 100755
--- a/package/dhcpcd/S41dhcpcd
+++ b/package/dhcpcd/S41dhcpcd
@@ -7,7 +7,6 @@ DAEMON=/sbin/dhcpcd
CONFIG=/etc/dhcpcd.conf
PIDFILE=/var/run/dhcpcd.pid
-[ -x $DAEMON ] || exit 0
[ -f $CONFIG ] || exit 0
case "$1" in
OpenPOWER on IntegriCloud