mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
bind: 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
83781f11dc
commit
f59d73426b
@@ -3,7 +3,6 @@
|
|||||||
CONFIG=/etc/bind/named.conf
|
CONFIG=/etc/bind/named.conf
|
||||||
DAEMON=/usr/sbin/named
|
DAEMON=/usr/sbin/named
|
||||||
|
|
||||||
[ -x $DAEMON ] || exit 0
|
|
||||||
[ -f $CONFIG ] || exit 0
|
[ -f $CONFIG ] || exit 0
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
|||||||
Reference in New Issue
Block a user