=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/netstart,v retrieving revision 1.99 retrieving revision 1.100 diff -c -r1.99 -r1.100 *** src/etc/netstart 2004/12/04 00:17:05 1.99 --- src/etc/netstart 2004/12/19 15:37:58 1.100 *************** *** 1,6 **** #!/bin/sh - # ! # $OpenBSD: netstart,v 1.99 2004/12/04 00:17:05 itojun Exp $ # Returns true if $1 contains only alphanumerics isalphanumeric() { --- 1,6 ---- #!/bin/sh - # ! # $OpenBSD: netstart,v 1.100 2004/12/19 15:37:58 millert Exp $ # Returns true if $1 contains only alphanumerics isalphanumeric() { *************** *** 184,197 **** # /etc/myname contains my symbolic name if [ -f /etc/myname ]; then ! hostname=`cat /etc/myname` hostname $hostname else hostname=`hostname` fi if [ -f /etc/defaultdomain ]; then ! domainname `cat /etc/defaultdomain` fi # Set the address for the loopback interface. Bringing the --- 184,197 ---- # /etc/myname contains my symbolic name if [ -f /etc/myname ]; then ! hostname=`stripcom /etc/myname` hostname $hostname else hostname=`hostname` fi if [ -f /etc/defaultdomain ]; then ! domainname `stripcom /etc/defaultdomain` fi # Set the address for the loopback interface. Bringing the *************** *** 284,290 **** # that name must be in /etc/hosts. if [ -f /etc/mygate ]; then route -qn delete default > /dev/null 2>&1 ! route -qn add -host default `cat /etc/mygate` fi # Multicast routing. --- 284,290 ---- # that name must be in /etc/hosts. if [ -f /etc/mygate ]; then route -qn delete default > /dev/null 2>&1 ! route -qn add -host default `stripcom /etc/mygate` fi # Multicast routing.