summaryrefslogtreecommitdiffstats
path: root/package/openntpd
diff options
context:
space:
mode:
authorCarlos Santos <casantos@datacom.ind.br>2018-04-15 23:29:34 -0300
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-16 07:34:52 +0200
commit0100c6962d8c91d1c9e0fe1c08790d6778f881ef (patch)
treed80970339d4c4cca67578ca519eb9dcdf518015f /package/openntpd
parente8cd0800aa25a9298c0e58cecbae5a30eabba19d (diff)
downloadbuildroot-0100c6962d8c91d1c9e0fe1c08790d6778f881ef.tar.gz
buildroot-0100c6962d8c91d1c9e0fe1c08790d6778f881ef.zip
openntpd: 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>
Diffstat (limited to 'package/openntpd')
-rwxr-xr-xpackage/openntpd/S49ntp1
1 files changed, 0 insertions, 1 deletions
diff --git a/package/openntpd/S49ntp b/package/openntpd/S49ntp
index c211ac835e..7ce46eba28 100755
--- a/package/openntpd/S49ntp
+++ b/package/openntpd/S49ntp
@@ -1,6 +1,5 @@
#!/bin/sh
-[ -x /usr/sbin/ntpd ] || exit 0
[ -f /etc/ntpd.conf ] || exit 0
case "$1" in
OpenPOWER on IntegriCloud