From 2a29db57172a25ceb9071ada376472eda3629fa3 Mon Sep 17 00:00:00 2001 From: claudio <> Date: Sun, 28 Sep 2014 12:58:02 +0000 Subject: [PATCH] Revert 1.142. Without the down netstart will just print the ifconfig output because it may end up just calling 'ifconfig $if'. This needs to be done better and properly tested. --- src/etc/netstart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/netstart b/src/etc/netstart index 26bdb360..6fa4d933 100644 --- a/src/etc/netstart +++ b/src/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.142 2014/09/26 15:18:01 halex Exp $ +# $OpenBSD: netstart,v 1.143 2014/09/28 12:58:02 claudio Exp $ # Strip comments (and leading/trailing whitespace if IFS is set) # from a file and spew to stdout @@ -63,7 +63,7 @@ ifstart() { [ "$name" = "NONE" ] && name= [ "$mask" = "NONE" ] && mask= [ "$bcaddr" = "NONE" ] && bcaddr= - cmd="ifconfig $if $name $mask $bcaddr $ext1 $ext2" + cmd="ifconfig $if $name $mask $bcaddr $ext1 $ext2 down" cmd="$cmd;dhclient $if" dhcpif="$dhcpif $if" ;;