mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
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>
This commit is contained in:
parent
e8cd0800aa
commit
0100c6962d
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user