diff options
author | Bill Nottingham <notting@redhat.com> | 1999-11-08 20:21:46 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-11-08 20:21:46 +0000 |
commit | debd2336c10eb68d8e165245f48102ded43c7867 (patch) | |
tree | 27353116e7843923d0f8a4761c9915669bb034d5 /rc.d | |
parent | 52b21f42364cc1092aa90bb6eab9164eabb9e09b (diff) | |
download | initscripts-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')
-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 |