diff options
-rwxr-xr-x | rc.d/rc | 4 | ||||
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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 |