Browse Source

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
OPENBSD_2_8
todd 24 years ago
parent
commit
972b0281f3
3 changed files with 2 additions and 24 deletions
  1. +1
    -2
      src/etc/changelist
  2. +0
    -5
      src/etc/ifaliases
  3. +1
    -17
      src/etc/rc

+ 1
- 2
src/etc/changelist View File

@ -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 # List of files which the security script backs up and checks
# for modifications. # for modifications.
@ -28,7 +28,6 @@
/etc/hosts.deny /etc/hosts.deny
/etc/hosts.equiv /etc/hosts.equiv
/etc/hosts.lpd /etc/hosts.lpd
/etc/ifaliases
/etc/inetd.conf /etc/inetd.conf
/etc/ipf.rules /etc/ipf.rules
/etc/ipnat.rules /etc/ipnat.rules


+ 0
- 5
src/etc/ifaliases View File

@ -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

+ 1
- 17
src/etc/rc View File

@ -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 # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -159,22 +159,6 @@ if [ "X${named_flags}" != X"NO" -a "X${named_chroot}" != "X" ]; then
fi fi
syslogd ${syslogd_flags} 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; # $named_flags, $named_user, and $named_chroot are imported from /etc/rc.conf;
# if $named_flags != NO, named is run. # if $named_flags != NO, named is run.
if [ "X${named_flags}" != X"NO" ]; then if [ "X${named_flags}" != X"NO" ]; then


Loading…
Cancel
Save