aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc')
-rwxr-xr-xrc.d/rc5
1 files changed, 4 insertions, 1 deletions
diff --git a/rc.d/rc b/rc.d/rc
index bd0448c7..994814a8 100755
--- a/rc.d/rc
+++ b/rc.d/rc
@@ -21,10 +21,13 @@ 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 ; then
+ if grep -i confirm /proc/cmdline >/dev/null || [ -f /tmp/confirm ] ; then
+ rm -f /tmp/confirm
CONFIRM=yes
+ echo "Entering interactive startup"
else
CONFIRM=
+ echo "Entering non-interactive startup"
fi
fi