Browse Source

fix rtsold case, reset cmd for each iteration!

OPENBSD_2_7
todd 25 years ago
parent
commit
4eada90c42
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/etc/netstart

+ 2
- 1
src/etc/netstart View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: netstart,v 1.58 2000/01/02 06:32:44 itojun Exp $
# $OpenBSD: netstart,v 1.59 2000/01/02 06:39:08 todd Exp $
# Returns true if $1 contains only alphanumerics # Returns true if $1 contains only alphanumerics
isalphanumeric() { isalphanumeric() {
@ -100,6 +100,7 @@ for hn in /etc/hostname.*; do
"rtsol") "rtsol")
ifconfig $if $name $mask $bcaddr $ext1 $ext2 down ifconfig $if $name $mask $bcaddr $ext1 $ext2 down
rtsolif="$rtsolif $if" rtsolif="$rtsolif $if"
cmd=
;; ;;
"up") "up")
# The only one of these guaranteed to be set is $if # The only one of these guaranteed to be set is $if


Loading…
Cancel
Save