Просмотр исходного кода

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>
Carlos Santos 7 лет назад
Родитель
Сommit
0100c6962d
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      package/openntpd/S49ntp

+ 0 - 1
package/openntpd/S49ntp

@@ -1,6 +1,5 @@
 #!/bin/sh
 #!/bin/sh
 
 
-[ -x /usr/sbin/ntpd ] || exit 0
 [ -f /etc/ntpd.conf ] || exit 0
 [ -f /etc/ntpd.conf ] || exit 0
 
 
 case "$1" in
 case "$1" in