diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2014-09-28 12:58:03 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2014-09-28 12:58:03 +0000 |
commit | f0e9838b79a760e1d6cfcc439451c05f5e902fd6 (patch) | |
tree | 24e4b4f2016c941d68c7a4217f41274e9aeee737 /etc/netstart | |
parent | 06115e23ffda58c84968b272f44ffb5e5261ea40 (diff) |
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.
Diffstat (limited to 'etc/netstart')
-rw-r--r-- | etc/netstart | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/netstart b/etc/netstart index 26bdb360827..6fa4d933034 100644 --- a/etc/netstart +++ b/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" ;; |