summaryrefslogtreecommitdiff
path: root/target/default/target_skeleton/root/.bash_logout
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-01-16 11:43:02 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-01-16 11:43:02 +0000
commit2f006aa5e8a74e2dd224f5e9b90d36c79651fd66 (patch)
tree85d694c0a5715a49a401cadec16be849169d8d6a /target/default/target_skeleton/root/.bash_logout
Initial revision
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@197 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/default/target_skeleton/root/.bash_logout')
-rw-r--r--target/default/target_skeleton/root/.bash_logout7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/default/target_skeleton/root/.bash_logout b/target/default/target_skeleton/root/.bash_logout
new file mode 100644
index 0000000000..77ef1f9508
--- /dev/null
+++ b/target/default/target_skeleton/root/.bash_logout
@@ -0,0 +1,7 @@
+# ~/.bash_logout: executed by bash(1) when login shell exits.
+
+# when leaving the console clear the screen to increase privacy
+
+case "`tty`" in
+ /dev/tty[0-9]*) clear
+esac