=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/Attic/rc.securelevel,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- src/etc/Attic/rc.securelevel 2000/07/11 22:30:56 1.13 +++ src/etc/Attic/rc.securelevel 2000/07/13 16:26:13 1.14 @@ -1,4 +1,4 @@ -# $OpenBSD: rc.securelevel,v 1.13 2000/07/11 22:30:56 matt Exp $ +# $OpenBSD: rc.securelevel,v 1.14 2000/07/13 16:26:13 millert Exp $ # # site-specific startup actions, daemons, and other things which # can be done BEFORE your system goes into securemode. For actions @@ -16,13 +16,10 @@ echo -n 'starting pre-securelevel daemons:' # Securelevel > 1 does not allow the clock to be set backwards -if [ $securelevel -gt 1 ]; then - if [ X"${ntpdate_flags}" != X"NO" -a -x /usr/local/sbin/ntpdate ]; then - echo -n ' ntpdate' - /usr/local/sbin/ntpdate -b ${ntpdate_flags} >/dev/null - elif [ X"${rdate_flags}" != X"NO" ]; then - echo -n ' rdate'; rdate -s ${rdate_flags} - fi +if [ $securelevel -gt 1 -a X"${ntpdate_flags}" != X"NO" \ + -a -x /usr/local/sbin/ntpdate ]; then + echo -n ' ntpdate' + /usr/local/sbin/ntpdate -b ${ntpdate_flags} >/dev/null fi if [ X"${ntpd}" == X"YES" -a -x /usr/local/sbin/tickadj \