diff options
Diffstat (limited to 'rc.d/rc')
-rwxr-xr-x | rc.d/rc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |