summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2004-12-01 07:12:20 +0000
committerFlorent Villard <warly@mandriva.com>2004-12-01 07:12:20 +0000
commitf2c92e730a46cd8f879596eaf93fe199d35a052e (patch)
tree8768c56f6964f62a4e322895cffa3ebf50e9b999
parentc8f55acb2692c6803c6ffdaca7c78d8f20b27f9c (diff)
downloaddrakx-f2c92e730a46cd8f879596eaf93fe199d35a052e.tar
drakx-f2c92e730a46cd8f879596eaf93fe199d35a052e.tar.gz
drakx-f2c92e730a46cd8f879596eaf93fe199d35a052e.tar.bz2
drakx-f2c92e730a46cd8f879596eaf93fe199d35a052e.tar.xz
drakx-f2c92e730a46cd8f879596eaf93fe199d35a052e.zip
Add a SYSTEM to Corporate in /etc/sysconfig/system for corporate
-rw-r--r--perl-install/install_steps.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 39673bd3e..0ec73c723 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -924,11 +924,13 @@ sub miscellaneousAfter {
$ENV{SECURE_LEVEL} = $o->{security}; #- deprecated with chkconfig 1.3.4-2mdk, uses /etc/sysconfig/msec
addToBeDone {
- setVarsInSh("$o->{prefix}/etc/sysconfig/system", {
+ my %l = (
CLASS => $::expert && 'expert' || 'beginner',
SECURITY => $o->{security},
META_CLASS => $o->{meta_class} || 'PowerPack',
- });
+ );
+ $l{SYSTEM} = 'Corporate' if $::corporate;
+ setVarsInSh("$o->{prefix}/etc/sysconfig/system", \%l);
substInFile { s/KEYBOARD_AT_BOOT=.*/KEYBOARD_AT_BOOT=yes/ } "$o->{prefix}/etc/sysconfig/usb" if detect_devices::usbKeyboards();
} 'installPackages';