summaryrefslogtreecommitdiffstats
path: root/sbin/init.d/keyboard
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/init.d/keyboard')
-rwxr-xr-xsbin/init.d/keyboard18
1 files changed, 18 insertions, 0 deletions
diff --git a/sbin/init.d/keyboard b/sbin/init.d/keyboard
new file mode 100755
index 0000000..a3367b7
--- /dev/null
+++ b/sbin/init.d/keyboard
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+. `dirname $0`/functions
+
+option keymap standard_option us
+option keyrate standard_option 30
+
+function do_start {
+ loadkeys $opt_keymap
+ kbdrate -r $opt_keyrate
+}
+
+function do_stop {
+ loadkeys us
+}
+
+load_config
+