=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/netstart,v retrieving revision 1.62 retrieving revision 1.63 diff -c -r1.62 -r1.63 *** src/etc/netstart 2000/01/02 06:50:09 1.62 --- src/etc/netstart 2000/01/10 02:04:07 1.63 *************** *** 1,6 **** #!/bin/sh - # ! # $OpenBSD: netstart,v 1.62 2000/01/02 06:50:09 deraadt Exp $ # Returns true if $1 contains only alphanumerics isalphanumeric() { --- 1,6 ---- #!/bin/sh - # ! # $OpenBSD: netstart,v 1.63 2000/01/10 02:04:07 todd Exp $ # Returns true if $1 contains only alphanumerics isalphanumeric() { *************** *** 86,95 **** # read the next line or exit the while loop read af name mask bcaddr ext1 ext2 || break fi ! # skip comments ! [ "${af#*#}" = "${af}" ] || continue ! # $af can be either "dhcp", "up" or an address family. case "$af" in "bridge") cmd="echo ${hn}: bridges now supported via bridgename.* files" ;; --- 86,100 ---- # read the next line or exit the while loop read af name mask bcaddr ext1 ext2 || break fi ! # $af can be "dhcp", "up", "rtsol", an address family, commands, or ! # a comment. case "$af" in + "#"*) # skip comments + continue + ;; + "!"*) # parse commands + cmd="${af#*!} ${name} ${mask} ${bcaddr} ${ext1} ${ext2}" + ;; "bridge") cmd="echo ${hn}: bridges now supported via bridgename.* files" ;;