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 27 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
# or after single-user.
@ -293,10 +293,6 @@ if [ -f /var/account/acct ]; then
echo 'turning on accounting'; accton /var/account/acct
fi
echo -n standard daemons:
echo -n ' cron'; cron
echo '.'
echo -n starting network daemons:
# $gated and $routed_flags are imported from /etc/rc.conf.
@ -415,6 +411,10 @@ fi
[ -f /etc/rc.local ] && . /etc/rc.local
echo -n standard daemons:
echo -n ' cron'; cron
echo '.'
date
# Alternatively, on some architectures, xdm may be started in /etc/ttys.


Loading…
Cancel
Save