diff options
Diffstat (limited to 'usr.sbin/sade/install.c')
-rw-r--r-- | usr.sbin/sade/install.c | 10 |
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) |