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