summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/install.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sade/install.c')
-rw-r--r--usr.sbin/sade/install.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c
index 627706f..769221b 100644
--- a/usr.sbin/sade/install.c
+++ b/usr.sbin/sade/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