1 #!/bin/bash 2 3 if [ -w /proc/sys/kernel/sysrq ]; then 4 echo 1 > /proc/sys/kernel/sysrq 5 fi 6 7 exit 0 8