Added rc.local for rms
[fai-configs.git] / files / etc / rc.local / RMS
diff --git a/files/etc/rc.local/RMS b/files/etc/rc.local/RMS
new file mode 100755 (executable)
index 0000000..25bb13a
--- /dev/null
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+#
+# rc.local
+#
+# This script is executed at the end of each multiuser runlevel.
+# Make sure that the script will "exit 0" on success or any other
+# value on error.
+#
+# In order to enable or disable this script just change the execution
+# bits.
+#
+# By default this script does nothing.
+
+(echo 'keymaps 0-127'
+echo 'keycode 58 = Control'
+echo 'keycode 29 = Control') | loadkeys -
+
+rfkill block all
+
+exit 0