[Buildroot] [PATCH 03/26] dhcpcd: don't test if the binary exists in the init script

Carlos Santos casantos at datacom.ind.br
Mon Apr 16 02:29:21 UTC 2018


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 at datacom.ind.br>
---
 package/dhcpcd/S41dhcpcd | 1 -
 1 file changed, 1 deletion(-)

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
-- 
2.14.3




More information about the buildroot mailing list