diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-06-03 00:34:58 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-06-03 00:34:58 +0000 |
commit | db6e5348fef669b14f285ad33ec1ca16f0782a4b (patch) | |
tree | 0fb9523d17d1daafc87fa439c92e10b63421b2c5 /etc/rc.initial | |
parent | 119cd3aface4e3a3976331da5e427b1ebe9432e6 (diff) | |
download | pfsense-db6e5348fef669b14f285ad33ec1ca16f0782a4b.zip pfsense-db6e5348fef669b14f285ad33ec1ca16f0782a4b.tar.gz |
Instead of running an endless loop, let the console logout and log back in after a command. This fixes some of the issues on serial console.
Diffstat (limited to 'etc/rc.initial')
-rwxr-xr-x | etc/rc.initial | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/etc/rc.initial b/etc/rc.initial index f5a20d9..fa17292 100755 --- a/etc/rc.initial +++ b/etc/rc.initial @@ -50,7 +50,7 @@ echo `tty` > /tmp/last_term_seen PLATFORM=`cat /etc/platform` # endless loop -while : ; do +# while : ; do if [ -f /tmp/ttybug ]; then rm /tmp/ttybug @@ -161,11 +161,7 @@ case ${opmode} in links "http://localhost" fi ;; -"") - echo -n "Press CTRL-C to continue." - sleep 1000000 - ;; esac -done +#done |