summaryrefslogtreecommitdiff
path: root/src/profiles/profile-interactive-DRAFT.sh
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-11-01 19:36:05 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-11-01 19:36:05 +0100
commita95bfb1aaa4cf05dbb92a409f9a5ea8db720c98d (patch)
tree208593a33fd1546e79daeac65e8feaa032852aa1 /src/profiles/profile-interactive-DRAFT.sh
parentad4447e651202c1e3ba0b665e40269fe345e9bc0 (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.sh12
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 ##