diff options
Diffstat (limited to 'ironic_python_agent/shell')
| -rw-r--r-- | ironic_python_agent/shell/reboot.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ironic_python_agent/shell/reboot.sh b/ironic_python_agent/shell/reboot.sh index 9d758464..beb7fce7 100644 --- a/ironic_python_agent/shell/reboot.sh +++ b/ironic_python_agent/shell/reboot.sh @@ -18,5 +18,8 @@ set -e +# Make sure all functions of sysrq is enabled. +echo "1" > /proc/sys/kernel/sysrq + echo "s" > /proc/sysrq-trigger echo "b" > /proc/sysrq-trigger |
