summaryrefslogtreecommitdiffstats
path: root/abs/core/ntp/ntpd
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/ntp/ntpd')
-rwxr-xr-xabs/core/ntp/ntpd3
1 files changed, 2 insertions, 1 deletions
diff --git a/abs/core/ntp/ntpd b/abs/core/ntp/ntpd
index bb39123..56f6248 100755
--- a/abs/core/ntp/ntpd
+++ b/abs/core/ntp/ntpd
@@ -2,13 +2,14 @@
. /etc/rc.conf
. /etc/rc.d/functions
+. /etc/conf.d/ntp-client.conf
PID=`pidof -o %PPID /usr/bin/ntpd`
case "$1" in
start)
stat_busy "Starting NTP Daemon"
if [ -z "$PID" ]; then
- /usr/bin/ntpd -g &
+ /usr/bin/ntpd $NTPD_ARGS &
fi
if [ ! -z "$PID" -o $? -gt 0 ]; then
stat_fail