From 972b0281f38861a6d73e46ac7e61779650fa229b Mon Sep 17 00:00:00 2001 From: todd <> Date: Sun, 18 Jun 2000 22:58:42 +0000 Subject: [PATCH] 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 --- src/etc/changelist | 3 +-- src/etc/ifaliases | 5 ----- src/etc/rc | 18 +----------------- 3 files changed, 2 insertions(+), 24 deletions(-) delete mode 100644 src/etc/ifaliases diff --git a/src/etc/changelist b/src/etc/changelist index ea3fc4e6..8f06c12a 100644 --- a/src/etc/changelist +++ b/src/etc/changelist @@ -1,4 +1,4 @@ -# $OpenBSD: changelist,v 1.13 2000/05/02 19:11:02 markus Exp $ +# $OpenBSD: changelist,v 1.14 2000/06/18 22:58:42 todd Exp $ # # List of files which the security script backs up and checks # for modifications. @@ -28,7 +28,6 @@ /etc/hosts.deny /etc/hosts.equiv /etc/hosts.lpd -/etc/ifaliases /etc/inetd.conf /etc/ipf.rules /etc/ipnat.rules diff --git a/src/etc/ifaliases b/src/etc/ifaliases deleted file mode 100644 index 67f193c9..00000000 --- a/src/etc/ifaliases +++ /dev/null @@ -1,5 +0,0 @@ -# $OpenBSD: ifaliases,v 1.3 1997/06/08 23:23:33 downsj Exp $ -# This file contains a list of IP addresses aliases in the form -# interface address netmask -# ie: -#ep0 124.125.126.129 255.255.255.255 diff --git a/src/etc/rc b/src/etc/rc index bc055b57..1acd19ea 100644 --- a/src/etc/rc +++ b/src/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