=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/netstart,v retrieving revision 1.48 retrieving revision 1.49 diff -c -r1.48 -r1.49 *** src/etc/netstart 1999/03/29 22:09:58 1.48 --- src/etc/netstart 1999/08/09 21:49:04 1.49 *************** *** 1,6 **** #!/bin/sh - # ! # $OpenBSD: netstart,v 1.48 1999/03/29 22:09:58 niklas Exp $ # Returns true if $1 contains only alphanumerics isalphanumeric() { --- 1,6 ---- #!/bin/sh - # ! # $OpenBSD: netstart,v 1.49 1999/08/09 21:49:04 angelos Exp $ # Returns true if $1 contains only alphanumerics isalphanumeric() { *************** *** 90,95 **** --- 90,101 ---- # configuring backup or temp files, and to catch the "*" case. if ! isalphanumeric "$if"; then continue + fi + + # If the interface does not exist, just skip processing the file + /sbin/ifconfig $if > /dev/null 2>&1 + if [ "$?" != "0" ]; then + continue fi # Now parse the hostname.* file