diff options
author | Ian Darwin <ian@cvs.openbsd.org> | 2003-05-14 18:41:07 +0000 |
---|---|---|
committer | Ian Darwin <ian@cvs.openbsd.org> | 2003-05-14 18:41:07 +0000 |
commit | 9e4bb85628efbe948df7d70ba12fafbca4b4a8f7 (patch) | |
tree | 7882c947473e9deb0dd5997d595f6698199b39cd /etc/rc | |
parent | 1fd330c17b51f238b370cc946778efdc7e540c10 (diff) |
No more gated. ok krw@, deraadt@, commments from David Krause, jakob@.
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.226 2003/04/08 01:53:43 millert Exp $ +# $OpenBSD: rc,v 1.227 2003/05/14 18:41:06 ian Exp $ # System startup script run by init on autoboot # or after single-user. @@ -428,12 +428,9 @@ fi echo -n starting network daemons: -# $gated and $routed_flags are imported from /etc/rc.conf. -# If $gated == YES, gated is used; otherwise routed. +# $routed_flags are imported from /etc/rc.conf. # If $routed_flags == NO, routed isn't run. -if [ X${gated} = X"YES" -a -e /etc/gated.conf ]; then - echo -n ' gated'; /usr/local/sbin/gated $gated_flags -elif [ "X${routed_flags}" != X"NO" ]; then +if [ "X${routed_flags}" != X"NO" ]; then echo -n ' routed'; routed $routed_flags fi |