diff options
author | Bill Nottingham <notting@redhat.com> | 1999-08-31 22:18:17 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-08-31 22:18:17 +0000 |
commit | 2dc7a9140cf2196852cd8769065cb86b4d803b73 (patch) | |
tree | 14581365d2bc8dcc89a06002de64ca9435350ae1 /rc.d/rc.sysinit | |
parent | abb2109a73ad0d86ebb15265550eb037c5c4b889 (diff) | |
download | initscripts-2dc7a9140cf2196852cd8769065cb86b4d803b73.tar initscripts-2dc7a9140cf2196852cd8769065cb86b4d803b73.tar.gz initscripts-2dc7a9140cf2196852cd8769065cb86b4d803b73.tar.bz2 initscripts-2dc7a9140cf2196852cd8769065cb86b4d803b73.tar.xz initscripts-2dc7a9140cf2196852cd8769065cb86b4d803b73.zip |
disable magic sysrq by default
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 5 |
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 |