diff options
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.145 2000/07/06 13:24:49 itojun Exp $ +# $OpenBSD: rc,v 1.146 2000/07/11 22:30:56 matt Exp $ # System startup script run by init on autoboot # or after single-user. @@ -252,6 +252,11 @@ if [ X${amd} = X"YES" -a -d ${amd_dir} -a -e ${amd_master} ]; then -a ${amd_dir} `cat ${amd_master}` > /var/run/amd.pid ) fi +# run rdate before timed +if [ $securelevel -le 1 -a X"${rdate_flags}" != X"NO" ]; then + echo -n ' rdate'; rdate -s ${rdate_flags} +fi + # $timed_flags is imported from /etc/rc.conf; # if $timed_flags == NO, timed isn't run. if [ "X${timed_flags}" != X"NO" ]; then |