diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-01 19:36:05 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-01 19:36:05 +0100 |
commit | a95bfb1aaa4cf05dbb92a409f9a5ea8db720c98d (patch) | |
tree | 208593a33fd1546e79daeac65e8feaa032852aa1 /src/profiles/profile-interactive-DRAFT.sh | |
parent | ad4447e651202c1e3ba0b665e40269fe345e9bc0 (diff) |
var_TARGET_DIR and various other fixes
Diffstat (limited to 'src/profiles/profile-interactive-DRAFT.sh')
-rw-r--r-- | src/profiles/profile-interactive-DRAFT.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/profiles/profile-interactive-DRAFT.sh b/src/profiles/profile-interactive-DRAFT.sh index b7644e3..b7f5a68 100644 --- a/src/profiles/profile-interactive-DRAFT.sh +++ b/src/profiles/profile-interactive-DRAFT.sh @@ -803,6 +803,18 @@ EOF S_GRUB=1 } + + # exit if network wasn't configured in installer + if [ $S_NET -eq 0 ]; then + return 1 + fi + + ask_yesno "Do you want to use the network settings from the installer in rc.conf and resolv.conf?\n\nIf you used Proxy settings, they will be written to /etc/profile.d/proxy.sh" || return 1 + + if [ $S_DHCP -ne 1 ]; then + auto_network +fi + ##################### ## begin execution ## |