summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2000-01-02 06:39:09 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2000-01-02 06:39:09 +0000
commit648cf00f54265f33840fed75b5f435b6f8bc2a81 (patch)
tree471f35f0cd60dc6955c4bf53829102a815376209
parent317755f49374a0efee904c3c79d8011e8696d8c6 (diff)
fix rtsold case, reset cmd for each iteration!
-rw-r--r--etc/netstart3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/netstart b/etc/netstart
index 171df836296..79ae12d5a1f 100644
--- a/etc/netstart
+++ b/etc/netstart
@@ -1,6 +1,6 @@
#!/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
isalphanumeric() {
@@ -100,6 +100,7 @@ for hn in /etc/hostname.*; do
"rtsol")
ifconfig $if $name $mask $bcaddr $ext1 $ext2 down
rtsolif="$rtsolif $if"
+ cmd=
;;
"up")
# The only one of these guaranteed to be set is $if