aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit5
1 files changed, 5 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 0b7d2210..1b323314 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -121,6 +121,11 @@ fi
action "Mounting proc filesystem" mount -n -t proc /proc /proc
+# Turn off sysrq
+if [ "$MAGIC_SYSRQ" = "no" ]; then
+ echo "0" > /proc/sys/kernel/sysrq
+fi
+
if [ -f /fsckoptions ]; then
fsckoptions=`cat /fsckoptions`
else