aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
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