=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/netstart,v retrieving revision 1.88 retrieving revision 1.89 diff -c -r1.88 -r1.89 *** src/etc/netstart 2003/10/20 17:53:32 1.88 --- src/etc/netstart 2003/12/03 13:28:36 1.89 *************** *** 1,6 **** #!/bin/sh - # ! # $OpenBSD: netstart,v 1.88 2003/10/20 17:53:32 david Exp $ # Returns true if $1 contains only alphanumerics isalphanumeric() { --- 1,6 ---- #!/bin/sh - # ! # $OpenBSD: netstart,v 1.89 2003/12/03 13:28:36 markus Exp $ # Returns true if $1 contains only alphanumerics isalphanumeric() { *************** *** 27,33 **** ifconfig $if > /dev/null 2>&1 if [ "$?" != "0" ]; then ! return fi # Now parse the hostname.* file --- 27,37 ---- ifconfig $if > /dev/null 2>&1 if [ "$?" != "0" ]; then ! # Try to create interface if it does not exist ! ifconfig $if create > /dev/null 2>&1 ! if [ "$?" != "0" ]; then ! return ! fi fi # Now parse the hostname.* file