summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-06-03 20:50:51 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-06-03 20:50:51 +0000
commit2e28c9c7d21d5c9c7eb81dcc29604697c5042384 (patch)
treebffb1b4cf56e042bcfa93a955ed1ae869cd803d3
parent3b3978e8af2fabeadb4681920c180ab19c3e59b8 (diff)
downloadpfsense-2e28c9c7d21d5c9c7eb81dcc29604697c5042384.zip
pfsense-2e28c9c7d21d5c9c7eb81dcc29604697c5042384.tar.gz
Reset terminals on blank input which could be a console reload war between some kind of strange "new spawned console".
-rwxr-xr-xetc/rc.initial3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc.initial b/etc/rc.initial
index 78eb795..16f566f 100755
--- a/etc/rc.initial
+++ b/etc/rc.initial
@@ -161,6 +161,9 @@ case ${opmode} in
links "http://localhost"
fi
;;
+"")
+ killall login ; exit
+ ;;
esac
done
OpenPOWER on IntegriCloud