git://git.onelab.eu
/
procprotect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Packaging up recent changes to work around kernel bug
[procprotect.git]
/
procprotect.init
diff --git a/procprotect.init
b/procprotect.init
new file mode 100755
(executable)
index 0000000..
06119ca
--- /dev/null
+++ b/
procprotect.init
@@ -0,0
+1,8
@@
+#!/bin/sh
+
+if [ ! -f /proc/procprotect ]; then
+ echo "Transforward kernel module not loaded"
+else
+ echo "sysrq-trigger" > /proc/procprotect
+fi
+