summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense-org.local>2009-08-24 17:47:19 -0400
committerScott Ullrich <sullrich@pfsense-org.local>2009-08-24 17:47:53 -0400
commit83eb45678f289484309c8d693959e674ab22e1e6 (patch)
tree6a4265c5f486ca52e7364651e2346d6576b6ed4a /etc
parent3f9a98c1afab18a66900e5e84c9d893d67bfe7e6 (diff)
downloadpfsense-83eb45678f289484309c8d693959e674ab22e1e6.zip
pfsense-83eb45678f289484309c8d693959e674ab22e1e6.tar.gz
Note when openNTPD is starting. Resolves #42
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/system.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 32910dd..3939471 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -969,6 +969,9 @@ function system_ntp_configure() {
/* start opentpd, set time now and use /var/etc/ntpd.conf */
exec("/usr/local/sbin/ntpd -s -f {$g['varetc_path']}/ntpd.conf");
+
+ // Note that we are starting up
+ exec("echo 'OpenNTPD is starting up' >> {$g['varlog_path']}/ntpd.log");
}
OpenPOWER on IntegriCloud