=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/netstart,v retrieving revision 1.85 retrieving revision 1.86 diff -c -r1.85 -r1.86 *** src/etc/netstart 2002/05/16 20:48:25 1.85 --- src/etc/netstart 2003/02/16 23:25:40 1.86 *************** *** 1,6 **** #!/bin/sh - # ! # $OpenBSD: netstart,v 1.85 2002/05/16 20:48:25 todd Exp $ # Returns true if $1 contains only alphanumerics isalphanumeric() { --- 1,6 ---- #!/bin/sh - # ! # $OpenBSD: netstart,v 1.86 2003/02/16 23:25:40 krw Exp $ # Returns true if $1 contains only alphanumerics isalphanumeric() { *************** *** 275,280 **** --- 275,281 ---- # /etc/mygate, if it exists, contains the name of my gateway host # that name must be in /etc/hosts. if [ -f /etc/mygate ]; then + route delete default > /dev/null 2>&1 route -n add -host default `cat /etc/mygate` fi