diff options
author | 2004-07-06 04:05:27 +0000 | |
---|---|---|
committer | 2004-07-06 04:05:27 +0000 | |
commit | 78386c43f9dd7cdb604fed2b62fd3839037b74de (patch) | |
tree | 0a923a627351e8a9aa0a8e250a9fc6407c36ad00 | |
parent | bit too rushed :-) (diff) | |
download | wireguard-openbsd-78386c43f9dd7cdb604fed2b62fd3839037b74de.tar.xz wireguard-openbsd-78386c43f9dd7cdb604fed2b62fd3839037b74de.zip |
eh, actually add the startup code for ntpd
-rw-r--r-- | etc/rc | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.248 2004/06/04 04:26:41 grange Exp $ +# $OpenBSD: rc,v 1.249 2004/07/06 04:05:27 henning Exp $ # System startup script run by init on autoboot # or after single-user. @@ -298,7 +298,7 @@ if [ X${amd} = X"YES" -a -e ${amd_master} ]; then -a ${amd_dir} `cat ${amd_master}` > /var/run/amd.pid ) fi -# run rdate before timed +# run rdate before timed/ntpd if [ X"${rdate_flags}" != X"NO" ]; then echo -n ' rdate'; rdate -s ${rdate_flags} fi @@ -308,6 +308,10 @@ fi if [ "X${timed_flags}" != X"NO" ]; then echo -n ' timed'; timed $timed_flags fi + +if [ "X${ntpd_flags}" != X"NO" ]; then + echo -n ' ntpd'; ntpd $ntpd_flags +fi echo '.' mount -a -t nfs |