summaryrefslogtreecommitdiff
path: root/etc/rc.local
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2004-04-07 19:23:40 +0000
committerDavid Krause <david@cvs.openbsd.org>2004-04-07 19:23:40 +0000
commit7de22ca021b6171fb17b56b6ac97fa283250b005 (patch)
tree1908de20770703bb60dd3dbeaeaf59c8e76b682a /etc/rc.local
parent1f4a6840942697c11201f37dcf096cfd0fb6bb79 (diff)
repair ntpd_flags; from Jeff Ito <jeffi@rcn.com>
ok miod@ krw@
Diffstat (limited to 'etc/rc.local')
-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