=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/rc,v retrieving revision 1.127 retrieving revision 1.128 diff -c -r1.127 -r1.128 *** src/etc/rc 2000/01/02 14:25:07 1.127 --- src/etc/rc 2000/01/30 02:17:00 1.128 *************** *** 1,4 **** ! # $OpenBSD: rc,v 1.127 2000/01/02 14:25:07 itojun Exp $ # System startup script run by init on autoboot # or after single-user. --- 1,4 ---- ! # $OpenBSD: rc,v 1.128 2000/01/30 02:17:00 mickey Exp $ # System startup script run by init on autoboot # or after single-user. *************** *** 108,114 **** if [ -f /etc/sysctl.conf ]; then ( # delete comments and blank lines ! set -- `sed -e 's/#.*$//' /etc/sysctl.conf | grep -v '^$'` while [ $# -ge 1 ] ; do sysctl -w $1 shift 1 --- 108,114 ---- if [ -f /etc/sysctl.conf ]; then ( # delete comments and blank lines ! set -- `sed -e 's/#.*$//' -e '/^$/d' /etc/sysctl.conf` while [ $# -ge 1 ] ; do sysctl -w $1 shift 1 *************** *** 147,153 **** 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 -n add -host $2 localhost --- 147,153 ---- if [ -f /etc/ifaliases ]; then ( # delete comments and blank lines ! set -- `sed -e 's/#.*$//' -e '/^$/d' /etc/ifaliases` while [ $# -ge 3 ] ; do ifconfig $1 inet alias $2 netmask $3 route -n add -host $2 localhost