aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-11-08 20:21:46 +0000
committerBill Nottingham <notting@redhat.com>1999-11-08 20:21:46 +0000
commitdebd2336c10eb68d8e165245f48102ded43c7867 (patch)
tree27353116e7843923d0f8a4761c9915669bb034d5
parent52b21f42364cc1092aa90bb6eab9164eabb9e09b (diff)
downloadinitscripts-debd2336c10eb68d8e165245f48102ded43c7867.tar
initscripts-debd2336c10eb68d8e165245f48102ded43c7867.tar.gz
initscripts-debd2336c10eb68d8e165245f48102ded43c7867.tar.bz2
initscripts-debd2336c10eb68d8e165245f48102ded43c7867.tar.xz
initscripts-debd2336c10eb68d8e165245f48102ded43c7867.zip
use /var/run/confirm for interactive, not /tmp/confirm
-rwxr-xr-xrc.d/rc4
-rwxr-xr-xrc.d/rc.sysinit2
2 files changed, 3 insertions, 3 deletions
diff --git a/rc.d/rc b/rc.d/rc
index cc86b500..13892672 100755
--- a/rc.d/rc
+++ b/rc.d/rc
@@ -21,8 +21,8 @@ export runlevel previous
# See if we want to be in user confirmation mode
if [ "$previous" = "N" ]; then
- if grep -i confirm /proc/cmdline >/dev/null || [ -f /tmp/confirm ] ; then
- rm -f /tmp/confirm
+ if grep -i confirm /proc/cmdline >/dev/null || [ -f /var/run/confirm ] ; then
+ rm -f /var/run/confirm
CONFIRM=yes
echo "Entering interactive startup"
else
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index c528375b..8b98678b 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -524,6 +524,6 @@ dmesg > /var/log/dmesg
kill -TERM `/sbin/pidof getkey` >/dev/null 2>&1
} &
if [ "$PROMPT" != "no" ]; then
- /sbin/getkey i && touch /tmp/confirm
+ /sbin/getkey i && touch /var/run/confirm
fi
wait