summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--installers/data/pc.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/installers/data/pc.sh b/installers/data/pc.sh
index d86e48d..94d7d62 100644
--- a/installers/data/pc.sh
+++ b/installers/data/pc.sh
@@ -107,6 +107,9 @@ if [ "x${select_result}" = 'xManual' ]; then
printf '\tdhcpd-option lease %s\n' \
"${net_dhcpd_lease}" >&3
fi
+ else
+ printf 'auto %s\niface %s inet dhcp\n' \
+ "${net_iface}" "${net_iface}" >&3
fi
case "${net_iface%%[0-9]}" in wlan)
if ${net_static}; then
@@ -137,6 +140,7 @@ if [ "x${select_result}" = 'xManual' ]; then
fi
;;
esac
+ printf '\n' >&3
done
exec 3>&-
fi