summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-31 20:17:14 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-31 20:17:14 +0000
commitb99acdb9dbd79ec302d506382fcf5c8ce89b833f (patch)
treefdddb0c41e748ad455a7908fff7c586e6e334040 /etc
parente32a4dcc9ad31ce42df47a7f9c85f583b6ababf1 (diff)
downloadpfsense-b99acdb9dbd79ec302d506382fcf5c8ce89b833f.zip
pfsense-b99acdb9dbd79ec302d506382fcf5c8ce89b833f.tar.gz
Run echo `tty` > /tmp/last_term_seen on startup
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.initial5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/rc.initial b/etc/rc.initial
index 014fae1..170188a 100755
--- a/etc/rc.initial
+++ b/etc/rc.initial
@@ -17,6 +17,11 @@ trap : 4
CONFIG="/cf/conf/config.xml"
WORD="https"
+# Document which terminal launched last
+# so we can attempt to track down the
+# rc.initial respawn issues.
+echo `tty` > /tmp/last_term_seen
+
# Set our operating platform
PLATFORM=`cat /etc/platform`
OpenPOWER on IntegriCloud