OSDN Git Service

simplify busybox-ntpd
authormobinmob <mobinmob@disroot.org>
Tue, 12 May 2020 17:17:32 +0000 (20:17 +0300)
committermobinmob <mobinmob@disroot.org>
Tue, 12 May 2020 17:17:32 +0000 (20:17 +0300)
usr/share/66/service/busybox-ntpd

index 48c29d7..8200a88 100644 (file)
@@ -2,12 +2,8 @@
 @type = classic
 @description = "busybox ntp daemon"
 @user = ( root )
-@options = ( log env )
+@options = ( log )
 
 [start]
-@build = custom
-@shebang = "/bin/sh"
-@execute = ( exec busybox ntpd -n ${OPTS} 2>&1 )
-
-[environment]
-OPTS=
+@build = auto
+@execute = ( busybox ntpd  -dn )