Browse Source

move cron to the end so users cannot run cron jobs before the system is all the way up

OPENBSD_2_4
millert 26 years ago
parent
commit
2dbac29ca5
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      src/etc/rc

+ 5
- 5
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.72 1998/05/13 21:10:03 deraadt Exp $
# $OpenBSD: rc,v 1.73 1998/05/14 23:58:01 millert Exp $
# System startup script run by init on autoboot # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -293,10 +293,6 @@ if [ -f /var/account/acct ]; then
echo 'turning on accounting'; accton /var/account/acct echo 'turning on accounting'; accton /var/account/acct
fi fi
echo -n standard daemons:
echo -n ' cron'; cron
echo '.'
echo -n starting network daemons: echo -n starting network daemons:
# $gated and $routed_flags are imported from /etc/rc.conf. # $gated and $routed_flags are imported from /etc/rc.conf.
@ -415,6 +411,10 @@ fi
[ -f /etc/rc.local ] && . /etc/rc.local [ -f /etc/rc.local ] && . /etc/rc.local
echo -n standard daemons:
echo -n ' cron'; cron
echo '.'
date date
# Alternatively, on some architectures, xdm may be started in /etc/ttys. # Alternatively, on some architectures, xdm may be started in /etc/ttys.


Loading…
Cancel
Save