aboutsummaryrefslogtreecommitdiffstats
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
commitcebf051302432ae8d98dc14c01e7698f2e1240f9 (patch)
treee2d95e46c7f0ddee32863620a67ce304b751c1eb /package/utils/busybox/files/sysntpd
parentb9c7eca5597c3afa10e1f0b2a70bffabe7c192e2 (diff)
downloadmaster-187ad058-cebf051302432ae8d98dc14c01e7698f2e1240f9.tar.gz
master-187ad058-cebf051302432ae8d98dc14c01e7698f2e1240f9.tar.bz2
master-187ad058-cebf051302432ae8d98dc14c01e7698f2e1240f9.zip
[package] 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38142 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 d7a9807a87..ebdda63df9 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