Skip to content

Instantly share code, notes, and snippets.

@UniversalSuperBox
Created March 9, 2018 22:01
Show Gist options
  • Save UniversalSuperBox/547b89ae177d24aaa723b61f87a405e7 to your computer and use it in GitHub Desktop.
Save UniversalSuperBox/547b89ae177d24aaa723b61f87a405e7 to your computer and use it in GitHub Desktop.
Upstart job to cause a kernel panic accidentally on purpose
start on startup
script
sleep 30
echo 1 > /proc/sys/kernel/sysrq
echo c > /proc/sysrq-trigger
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment