version 1.62, 2000/01/02 06:50:09 |
version 1.63, 2000/01/10 02:04:07 |
|
|
# read the next line or exit the while loop |
# read the next line or exit the while loop |
read af name mask bcaddr ext1 ext2 || break |
read af name mask bcaddr ext1 ext2 || break |
fi |
fi |
# skip comments |
# $af can be "dhcp", "up", "rtsol", an address family, commands, or |
[ "${af#*#}" = "${af}" ] || continue |
# a comment. |
# $af can be either "dhcp", "up" or an address family. |
|
case "$af" in |
case "$af" in |
|
"#"*) # skip comments |
|
continue |
|
;; |
|
"!"*) # parse commands |
|
cmd="${af#*!} ${name} ${mask} ${bcaddr} ${ext1} ${ext2}" |
|
;; |
"bridge") |
"bridge") |
cmd="echo ${hn}: bridges now supported via bridgename.* files" |
cmd="echo ${hn}: bridges now supported via bridgename.* files" |
;; |
;; |