git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb399b9
)
root-privileged kernel crash-wannabe-proof setup.
author
lace
<>
Sun, 3 Dec 2006 18:15:28 +0000
(18:15 +0000)
committer
lace
<>
Sun, 3 Dec 2006 18:15:28 +0000
(18:15 +0000)
bin/safe
[new file with mode: 0755]
patch
|
blob
diff --git a/bin/safe
b/bin/safe
new file mode 100755
(executable)
index 0000000..
5499b31
--- /dev/null
+++ b/
bin/safe
@@ -0,0
+1,6
@@
+#! /bin/sh
+set -ex
+echo 10 >/proc/sys/kernel/panic
+modprobe hangcheck-timer hangcheck_reboot=1
+modprobe softdog nowayout=0 soft_noboot=0
+echo OK