=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/netstart,v retrieving revision 1.105 retrieving revision 1.106 diff -c -r1.105 -r1.106 *** src/etc/netstart 2005/05/22 08:56:08 1.105 --- src/etc/netstart 2005/09/28 17:40:30 1.106 *************** *** 1,6 **** #!/bin/sh - # ! # $OpenBSD: netstart,v 1.105 2005/05/22 08:56:08 todd Exp $ # Strip comments (and leading/trailing whitespace if IFS is set) # from a file and spew to stdout --- 1,6 ---- #!/bin/sh - # ! # $OpenBSD: netstart,v 1.106 2005/09/28 17:40:30 todd Exp $ # Strip comments (and leading/trailing whitespace if IFS is set) # from a file and spew to stdout *************** *** 81,94 **** [ "$name" = "NONE" ] && name= [ "$mask" = "NONE" ] && mask= [ "$bcaddr" = "NONE" ] && bcaddr= ! ifconfig $if $name $mask $bcaddr $ext1 $ext2 down ! cmd="dhclient $if" setgateway=N ;; "rtsol") - ifconfig $if $name $mask $bcaddr $ext1 $ext2 up rtsolif="$rtsolif $if" ! cmd= ;; "up") # The only one of these guaranteed to be set is $if. --- 81,93 ---- [ "$name" = "NONE" ] && name= [ "$mask" = "NONE" ] && mask= [ "$bcaddr" = "NONE" ] && bcaddr= ! cmd="ifconfig $if $name $mask $bcaddr $ext1 $ext2 down" ! cmd="$cmd;dhclient $if" setgateway=N ;; "rtsol") rtsolif="$rtsolif $if" ! cmd="ifconfig $if $name $mask $bcaddr $ext1 $ext2 up" ;; "up") # The only one of these guaranteed to be set is $if.