aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc
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 /rc.d/rc
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
Diffstat (limited to 'rc.d/rc')
-rwxr-xr-xrc.d/rc4
1 files changed, 2 insertions, 2 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