projects
/
sysadmin-cookbook
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
reboot linux kernel on panic after x seconds
[sysadmin-cookbook]
/
recepies
/
linux-kernel
/
panic-reboot.sh
diff --git a/recepies/linux-kernel/panic-reboot.sh
b/recepies/linux-kernel/panic-reboot.sh
new file mode 100755
(executable)
index 0000000..
d90e972
--- /dev/null
+++ b/
recepies/linux-kernel/panic-reboot.sh
@@ -0,0
+1,4
@@
+#!/bin/sh -x
+
+cat /proc/sys/kernel/panic
+echo 10 > /proc/sys/kernel/panic