aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-11-10 21:44:54 +0000
committerBill Nottingham <notting@redhat.com>1999-11-10 21:44:54 +0000
commita29deb20d8ca02c716428b00d2102e4adeb26a5a (patch)
treedeb0b583ec2cbdd702fdabcb4410d7e90c354c00 /rc.d/rc.sysinit
parent945174a05c48620a6e2f43b7abfe4e89cec3ec08 (diff)
downloadinitscripts-a29deb20d8ca02c716428b00d2102e4adeb26a5a.tar
initscripts-a29deb20d8ca02c716428b00d2102e4adeb26a5a.tar.gz
initscripts-a29deb20d8ca02c716428b00d2102e4adeb26a5a.tar.bz2
initscripts-a29deb20d8ca02c716428b00d2102e4adeb26a5a.tar.xz
initscripts-a29deb20d8ca02c716428b00d2102e4adeb26a5a.zip
control stop-a differently than sysrq
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 5b7cfac8..ebe50d50 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -50,7 +50,7 @@ if [ -f /proc/sys/kernel/sysrq -a "$MAGIC_SYSRQ" = "no" ]; then
action "Turning off Magic SysRq key" /bin/true
fi
# Turn off Stop-A
-if [ -f /proc/sys/kernel/stop-a -a "$MAGIC_SYSRQ" = "no" ]; then
+if [ -f /proc/sys/kernel/stop-a -a "$STOP_A" = "no" ]; then
echo "0" > /proc/sys/kernel/stop-a
action "Turning off Stop-A/Break-A" /bin/true
fi