summaryrefslogtreecommitdiffstats
path: root/perl-install/keyboard.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/keyboard.pm')
-rw-r--r--perl-install/keyboard.pm10
1 files changed, 10 insertions, 0 deletions
diff --git a/perl-install/keyboard.pm b/perl-install/keyboard.pm
index 26263b181..9fb95da31 100644
--- a/perl-install/keyboard.pm
+++ b/perl-install/keyboard.pm
@@ -618,6 +618,16 @@ sub configure_xorg {
}
}
+sub configure_and_set_standalone {
+ my ($keyboard) = @_;
+
+ configure_xorg($keyboard);
+ setxkbmap($keyboard);
+
+ &write($keyboard);
+ system('/etc/init.d/keytable', 'restart');
+}
+
sub read() {
my %keyboard = getVarsFromSh("$::prefix/etc/sysconfig/keyboard") or return;
if (!$keyboard{KEYBOARD}) {