| 1 | #!/bin/sh -e |
| 2 | # |
| 3 | # rc.local |
| 4 | # |
| 5 | # This script is executed at the end of each multiuser runlevel. |
| 6 | # Make sure that the script will "exit 0" on success or any other |
| 7 | # value on error. |
| 8 | # |
| 9 | # In order to enable or disable this script just change the execution |
| 10 | # bits. |
| 11 | # |
| 12 | # By default this script does nothing. |
| 13 | |
| 14 | (echo 'keymaps 0-127' |
| 15 | echo 'keycode 58 = Control' |
| 16 | echo 'keycode 29 = Control') | loadkeys - |
| 17 | #insure portmap was not started |
| 18 | /etc/init.d/portmap stop |
| 19 | rfkill block all |
| 20 | macchanger -A eth0 |
| 21 | macchanger -A wlan0 |
| 22 | |
| 23 | exit 0 |