From 74149e5803bc0b8ef2afb876b65d9f7df369a724 Mon Sep 17 00:00:00 2001 From: Lisa Marie Maginnis Date: Sun, 28 Sep 2014 19:06:19 -0400 Subject: [PATCH] Added rc.local for rms --- files/etc/rc.local/RMS | 20 ++++++++++++++++++++ scripts/RMS/10_rc_local.sh | 3 +++ 2 files changed, 23 insertions(+) create mode 100755 files/etc/rc.local/RMS create mode 100755 scripts/RMS/10_rc_local.sh diff --git a/files/etc/rc.local/RMS b/files/etc/rc.local/RMS new file mode 100755 index 0000000..25bb13a --- /dev/null +++ b/files/etc/rc.local/RMS @@ -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 index 0000000..cf30bae --- /dev/null +++ b/scripts/RMS/10_rc_local.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +fcopy -v /etc/rc.local \ No newline at end of file -- 2.25.1