summaryrefslogtreecommitdiff
path: root/package/utils/busybox/files/sysntpd
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-09-23 21:58:36 +0000
committerLuka Perkov <luka@openwrt.org>2013-09-23 21:58:36 +0000
commitef5f83620738c07f4e67042c80578882418aaf0c (patch)
treedfd6d01e5e58de422307acb593d86368db9b2da6 /package/utils/busybox/files/sysntpd
parent0b09a893406c33777b4cf552dc2f72730069f71d (diff)
downloadmtk-20170518-ef5f83620738c07f4e67042c80578882418aaf0c.zip
mtk-20170518-ef5f83620738c07f4e67042c80578882418aaf0c.tar.gz
mtk-20170518-ef5f83620738c07f4e67042c80578882418aaf0c.tar.bz2
fix various init scripts
Changes include: * removing unused variables * replacing spaces with tabs where appropriate * more consistency with variable declarations Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38142
Diffstat (limited to 'package/utils/busybox/files/sysntpd')
-rwxr-xr-xpackage/utils/busybox/files/sysntpd3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/utils/busybox/files/sysntpd b/package/utils/busybox/files/sysntpd
index d7a9807..ebdda63 100755
--- a/package/utils/busybox/files/sysntpd
+++ b/package/utils/busybox/files/sysntpd
@@ -5,7 +5,6 @@ START=98
USE_PROCD=1
PROG=/usr/sbin/ntpd
-SERVICE_PID_FILE=/var/run/sysntpd.pid
start_service() {
local peers
@@ -20,7 +19,7 @@ start_service() {
procd_open_instance
procd_set_param command "$PROG" -n
- [ $enable_server -ne 0 ] && procd_append_param command -l
+ [ $enable_server -ne 0 ] && procd_append_param command -l
[ -n "$peers" ] && {
local peer
for peer in $peers; do