diff --git a/etc/rc b/etc/rc index c3f01e3383fd..8e3b51e31d1b 100644 --- a/etc/rc +++ b/etc/rc @@ -1,4 +1,4 @@ -# $NetBSD: rc,v 1.69 1997/03/10 10:15:11 mycroft Exp $ +# $NetBSD: rc,v 1.70 1997/03/12 19:15:16 mycroft Exp $ # from: @(#)rc 8.2 (Berkeley) 3/17/94 # System startup script run by init on autoboot @@ -256,7 +256,12 @@ if [ -f /var/account/acct ]; then fi echo -n standard daemons: -echo -n ' update'; update +if [ "$update_flags" != NO ]; then + if [ "$update_flags" = DEFAULT ]; then + update_flags="30" + fi + echo -n ' update'; update $update_flags +fi echo -n ' cron'; cron echo '.' diff --git a/etc/rc.conf b/etc/rc.conf index ad13ab71cc11..a58a4ba2da3a 100644 --- a/etc/rc.conf +++ b/etc/rc.conf @@ -1,4 +1,4 @@ -# $NetBSD: rc.conf,v 1.3 1997/03/10 09:16:14 mycroft Exp $ +# $NetBSD: rc.conf,v 1.4 1997/03/12 19:15:17 mycroft Exp $ # # see rc.conf(5) for more information. @@ -30,7 +30,7 @@ amd_flags=NO # default: "-l syslog -x error,noinfo,nostats" amd_dir=/amd # AMD's mount directory amd_master=/etc/amd/master # AMD 'master' map savecore_flags=DEFAULT # default: "" -gated=NO # YES or NO. +update_flags=DEFAULT # default: "30" # NOTE: gated is not distributed with NetBSD. gated_flags=NO # default: "" routed_flags=DEFAULT # default: "-q"