From a82de14d47c787295bace2d27978b9f0b0eb9e07 Mon Sep 17 00:00:00 2001 From: Jean Cyr Date: Mon, 11 Feb 2013 22:01:54 -0500 Subject: Make sure ntpd creates ntpd.pid file at bootup --- usr/local/sbin/ntpdate_sync_once.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local') diff --git a/usr/local/sbin/ntpdate_sync_once.sh b/usr/local/sbin/ntpdate_sync_once.sh index e899672..3809b23 100755 --- a/usr/local/sbin/ntpdate_sync_once.sh +++ b/usr/local/sbin/ntpdate_sync_once.sh @@ -29,7 +29,7 @@ fi if [ -f /var/etc/ntpd.conf ]; then echo "Starting NTP Daemon." | /usr/bin/logger -t ntp; - /usr/local/bin/ntpd -g -c /var/etc/ntpd.conf + /usr/local/bin/ntpd -g -c /var/etc/ntpd.conf -p /var/run/ntpd.pid else echo "NTP configuration file missing, not starting daemon." | /usr/bin/logger -t ntp; fi \ No newline at end of file -- cgit v1.1