aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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