=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/netstart,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- src/etc/netstart 1996/11/02 00:52:02 1.12 +++ src/etc/netstart 1997/02/03 12:04:44 1.13 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.12 1996/11/02 00:52:02 deraadt Exp $ +# $OpenBSD: netstart,v 1.13 1997/02/03 12:04:44 deraadt Exp $ # set these to "NO" to turn them off. otherwise, they're used as flags routed_flags=-q @@ -119,21 +119,4 @@ # that name must be in /etc/hosts. if [ -f /etc/mygate ]; then route add default `cat /etc/mygate` -fi - -# /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 -- `sed -e 's/#.*$//' /etc/ifaliases | grep -v '^$'` - - while [ $# -ge 3 ] ; do - ifconfig $1 inet alias $2 netmask $3 - route add $2 localhost - shift 3 - done -) fi