Added rc.local for rms
authorLisa Marie Maginnis <lisam@fsf.org>
Sun, 28 Sep 2014 23:06:19 +0000 (19:06 -0400)
committerLisa Marie Maginnis <lisam@fsf.org>
Sun, 28 Sep 2014 23:06:19 +0000 (19:06 -0400)
files/etc/rc.local/RMS [new file with mode: 0755]
scripts/RMS/10_rc_local.sh [new file with mode: 0755]

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
diff --git a/scripts/RMS/10_rc_local.sh b/scripts/RMS/10_rc_local.sh
new file mode 100755 (executable)
index 0000000..cf30bae
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+fcopy -v /etc/rc.local
\ No newline at end of file