summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2000-06-18 22:58:43 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2000-06-18 22:58:43 +0000
commitb7794140e2a53e702abd3bdc2694988703eefd69 (patch)
tree0ab01b05753609003cdc10721e2ac3a22a052b98 /etc/rc
parent85c5f5e875f1d4f61010ab65b32111ae9bfa2650 (diff)
ifaliases goes away.
- new installs wont have existing ifaliases - updates dont touch /etc - manual updates of /etc/ should know what they're doing anyway fwiw, see hostname.if(5) alias functionality has moved here for better overall network configurability
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc18
1 files changed, 1 insertions, 17 deletions
diff --git a/etc/rc b/etc/rc
index bc055b57644..1acd19eae46 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.141 2000/06/14 15:50:55 deraadt Exp $
+# $OpenBSD: rc,v 1.142 2000/06/18 22:58:42 todd Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -159,22 +159,6 @@ if [ "X${named_flags}" != X"NO" -a "X${named_chroot}" != "X" ]; then
fi
syslogd ${syslogd_flags}
-# /etc/ifaliases, if it exists, contains the names of additional IP
-# addresses for each interface. It is formatted as a series of lines
-# that contain
-# interface address netmask
-if [ -f /etc/ifaliases ]; then
-(
- # delete comments and blank lines
- set -- `stripcom /etc/ifaliases`
- while [ $# -ge 3 ] ; do
- ifconfig $1 inet alias $2 netmask $3
- route -n add -host $2 localhost
- shift 3
- done
-)
-fi
-
# $named_flags, $named_user, and $named_chroot are imported from /etc/rc.conf;
# if $named_flags != NO, named is run.
if [ "X${named_flags}" != X"NO" ]; then