You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash
|
|
|
|
ENABLED=yes
|
|
[[ ${ENABLED} == "yes" ]] || exit 0
|
|
|
|
#echo "Sleep 60 sec to reboot /proc/sysrq-trigger"
|
|
#echo 1 > /proc/sys/kernel/sysrq
|
|
sleep 60 && echo b > /proc/sysrq-trigger & |