summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 2f3fd70f0..958f9b105 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -349,9 +349,9 @@ sub miscellaneous {
my $f = "$o->{prefix}/etc/sysconfig/usb";
output $f,
"USB=yes
-MOUSE=
-KEYBOARD=
-STORAGE=
+MOUSE=" . bool2yesno(hasUsbMouse()) . "
+KEYBOARD=" . bool2yesno(hasUsbKeyboard()) . "
+STORAGE=" . bool2yesno(hasUsbZip()) . "
VISOR=no
" if modules::get_alias("usb-interface") && ! -e $f;