summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavid <david@openbsd.org>2004-04-07 19:23:39 +0000
committerdavid <david@openbsd.org>2004-04-07 19:23:39 +0000
commit6859fdc2044173c4b9fb7a1443ea01d56a33b878 (patch)
tree05dfff9933fe18cc23b9d93b994fc50646bb3580
parentupdate copyright; miod@ is fine w/ files where he holds it too (diff)
downloadwireguard-openbsd-6859fdc2044173c4b9fb7a1443ea01d56a33b878.tar.xz
wireguard-openbsd-6859fdc2044173c4b9fb7a1443ea01d56a33b878.zip
repair ntpd_flags; from Jeff Ito <jeffi@rcn.com>
ok miod@ krw@
-rw-r--r--etc/rc.local4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.local b/etc/rc.local
index 0e7ae7dcf46..d9c10fbbe8f 100644
--- a/etc/rc.local
+++ b/etc/rc.local
@@ -1,4 +1,4 @@
-# $OpenBSD: rc.local,v 1.34 2004/03/17 01:33:50 deraadt Exp $
+# $OpenBSD: rc.local,v 1.35 2004/04/07 19:23:39 david Exp $
# site-specific startup actions, daemons, and other things which
# can be done AFTER your system goes into securemode. For actions
@@ -21,7 +21,7 @@ if [ X"${ntpd}" == X"YES" -a -x /usr/local/sbin/ntpd \
-a -e /etc/ntp.conf ]; then
ntpd_flags="-p /var/run/ntpd.pid"
if [ $securelevel -ge 1 ]; then
- ntpd_flags="${ntpdflags} -x"
+ ntpd_flags="${ntpd_flags} -x"
fi
echo -n ' ntpd'; /usr/local/sbin/ntpd ${ntpd_flags}
fi