Browse Source

repair ntpd_flags; from Jeff Ito <jeffi@rcn.com>

ok miod@ krw@
OPENBSD_3_6
david 21 years ago
parent
commit
d9affc6242
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/rc.local

+ 2
- 2
src/etc/rc.local View File

@ -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


Loading…
Cancel
Save