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
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ ! -f /proc/procprotect ]; then 
+       echo "Transforward kernel module not loaded"
+else
+       echo "sysrq-trigger" > /proc/procprotect
+fi
+