summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/install.c
diff options
context:
space:
mode:
Diffstat (limited to 'release/sysinstall/install.c')
-rw-r--r--release/sysinstall/install.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/release/sysinstall/install.c b/release/sysinstall/install.c
index 627706f..769221b 100644
--- a/release/sysinstall/install.c
+++ b/release/sysinstall/install.c
@@ -973,6 +973,16 @@ installVarDefaults(dialogMenuItem *self)
return DITEM_SUCCESS;
}
+/* Load the environment up from various system configuration files */
+void
+installEnvironment(void)
+{
+ if (file_readable("/etc/sysconfig"))
+ configEnvironmentSysconfig("/etc/sysconfig");
+ if (file_readable("/etc/resolv.conf"))
+ configEnvironmentResolv("/etc/resolv.conf");
+}
+
/* Copy the boot floppy contents into /stand */
Boolean
copySelf(void)
OpenPOWER on IntegriCloud