summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-06-03 00:34:58 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-06-03 00:34:58 +0000
commitdb6e5348fef669b14f285ad33ec1ca16f0782a4b (patch)
tree0fb9523d17d1daafc87fa439c92e10b63421b2c5 /etc/rc.initial
parent119cd3aface4e3a3976331da5e427b1ebe9432e6 (diff)
downloadpfsense-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-xetc/rc.initial8
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
OpenPOWER on IntegriCloud