aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--initscripts.spec5
-rwxr-xr-xrc.d/rc.sysinit2
-rw-r--r--sysconfig/init6
3 files changed, 8 insertions, 5 deletions
diff --git a/initscripts.spec b/initscripts.spec
index a797115e..b3d72f1d 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -1,6 +1,6 @@
Summary: The inittab file and the /etc/rc.d scripts.
Name: initscripts
-%define version 4.63
+%define version 4.64
Version: %{version}
Copyright: GPL
Group: System Environment/Base
@@ -198,6 +198,9 @@ rm -rf $RPM_BUILD_ROOT
%ghost %attr(0664,root,utmp) /var/run/utmp
%changelog
+* Wed Nov 10 1999 Bill Nottingham <notting@redhat.com>
+- control stop-a separately from sysrq
+
* Mon Nov 08 1999 Michael K. Johnson <johnsonm@redhat.com>
- fix some failed CHAP authentication
- fix extremely unlikely, but slightly possible kill-random-process
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
diff --git a/sysconfig/init b/sysconfig/init
index 5fefe7fa..d9dcccb6 100644
--- a/sysconfig/init
+++ b/sysconfig/init
@@ -17,9 +17,9 @@ SETCOLOR_WARNING="echo -en \\033[1;33m"
SETCOLOR_NORMAL="echo -en \\033[0;39m"
# default kernel loglevel on boot (syslog will reset this)
LOGLEVEL=1
-# Setting this to something other than 'no' will turn on:
-# - magic sysrq keys
-# - stop-a (Sparc only)
+# Setting this to something other than 'no' will turn on magic sysrq keys
MAGIC_SYSRQ=no
+# Setting this to something other than 'no' will turn on stop-a (Sparc only)
+STOP_A=no
# Set to anything other than 'no' to allow hotkey interactive startup...
PROMPT=yes