aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-30 09:59:10 +0000
committerRoy Marples <roy@marples.name>2007-11-30 09:59:10 +0000
commit7683c5056a74ce4074940c3f96ad2db1bcf624ed (patch)
tree08e21eda33e6e5999128ae902b4212ad051fddb0 /sh
parenta6d8b76876ac744e019aa7b172ffee3e75b93d1c (diff)
fix last stupid error
Diffstat (limited to 'sh')
-rwxr-xr-xsh/net.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sh/net.sh b/sh/net.sh
index 93a04025..0a043d43 100755
--- a/sh/net.sh
+++ b/sh/net.sh
@@ -426,7 +426,8 @@ _load_config() {
else
if [ -z "$1" ]; then
ewarn "No configuration specified; defaulting to DHCP"
- config="dhcp"
+ config_0="dhcp"
+ config_index=1
fi
fi