=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/netstart,v retrieving revision 1.174 retrieving revision 1.175 diff -c -r1.174 -r1.175 *** src/etc/netstart 2017/04/07 22:15:17 1.174 --- src/etc/netstart 2017/04/07 22:53:25 1.175 *************** *** 1,6 **** #!/bin/sh - # ! # $OpenBSD: netstart,v 1.174 2017/04/07 22:15:17 rpe Exp $ # Turn off Strict Bourne shell mode. set +o sh --- 1,6 ---- #!/bin/sh - # ! # $OpenBSD: netstart,v 1.175 2017/04/07 22:53:25 rpe Exp $ # Turn off Strict Bourne shell mode. set +o sh *************** *** 51,57 **** # We are carrying over from the 'read dt dtaddr' # last time. set -- $cmd2 ! af="$1" name="$2" mask="$3" bcaddr="$4" ext1="$5" cmd2= # Make sure and get any remaining args in ext2, # like the read below. i=1 --- 51,57 ---- # We are carrying over from the 'read dt dtaddr' # last time. set -- $cmd2 ! af=$1 name=$2 mask=$3 bcaddr=$4 ext1=$5 cmd2= # Make sure and get any remaining args in ext2, # like the read below. i=1 *************** *** 64,70 **** # $af can be "dhcp", "up", "rtsol", an address family, commands, # or a comment. case "$af" in ! "#"*|"") # Skip comments and empty lines. continue ;; "!"*) # Parse commands. --- 64,71 ---- # $af can be "dhcp", "up", "rtsol", an address family, commands, # or a comment. case "$af" in ! "#"*|"") ! # Skip comments and empty lines. continue ;; "!"*) # Parse commands. *************** *** 84,90 **** ;; *) read dt dtaddr ! if [ "$name" = "alias" ]; then # Perform a 'shift' of sorts. alias=$name name=$mask --- 85,91 ---- ;; *) read dt dtaddr ! if [ "$name" = "alias" ]; then # Perform a 'shift' of sorts. alias=$name name=$mask *************** *** 131,137 **** ;; esac eval "$cmd" ! done