summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-04-13 14:08:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-04-13 14:08:36 +0000
commit9ab31aac1c348328dea21fb250401e3d773cce68 (patch)
treee1a4f26fc15f5642c7c44a658aa79df2a31ef21d /perl-install/install2.pm
parent441b9c3624c4587843935f44fb1e5b72cf638906 (diff)
downloaddrakx-9ab31aac1c348328dea21fb250401e3d773cce68.tar
drakx-9ab31aac1c348328dea21fb250401e3d773cce68.tar.gz
drakx-9ab31aac1c348328dea21fb250401e3d773cce68.tar.bz2
drakx-9ab31aac1c348328dea21fb250401e3d773cce68.tar.xz
drakx-9ab31aac1c348328dea21fb250401e3d773cce68.zip
(miscellaneous): add setting KEYBOARD=yes in /etc/sysconfig/usb as asked by Lord Chmou
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index b6995e80b..f95d9aeb0 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -268,6 +268,8 @@ sub miscellaneous {
SECURITY => $o->{security},
META_CLASS => $o->{meta_class} || 'PowerPack',
});
+ substInFile { s/KEYBOARD=.*/KEYBOARD=yes/ } "$o->{prefix}/etc/sysconfig/usb" if detect_devices::usbKeyboards();
+
} 'installPackages';
}