diff options
author | Bill Nottingham <notting@redhat.com> | 1999-09-02 00:57:26 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-09-02 00:57:26 +0000 |
commit | e6d28cc5aaeabd53ed652eec63c2c22bb3f7e97c (patch) | |
tree | 519a94d0646687a868681da20d91e311c54f023f /rc.d/rc | |
parent | acd1b3af175819b9209cde675deb4a88af32e506 (diff) | |
download | initscripts-e6d28cc5aaeabd53ed652eec63c2c22bb3f7e97c.tar initscripts-e6d28cc5aaeabd53ed652eec63c2c22bb3f7e97c.tar.gz initscripts-e6d28cc5aaeabd53ed652eec63c2c22bb3f7e97c.tar.bz2 initscripts-e6d28cc5aaeabd53ed652eec63c2c22bb3f7e97c.tar.xz initscripts-e6d28cc5aaeabd53ed652eec63c2c22bb3f7e97c.zip |
add interactive prompt to make Cristian & Preston happy
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 |