summaryrefslogtreecommitdiff
path: root/google-compute-engine/etc/skel/.bash_logout
diff options
context:
space:
mode:
authorMark Doffman <mark.doffman@codethink.co.uk>2015-04-14 20:23:30 +0000
committerMark Doffman <mark.doffman@codethink.co.uk>2015-04-17 16:55:47 +0000
commitce7ea2923f1dc8c8fbd5600f14e356ffed99072b (patch)
treea57acda310648685cbf4c7c4aa9d21bea974c754 /google-compute-engine/etc/skel/.bash_logout
parent2c013960069f9080589f2e61bd616a437e7a5264 (diff)
downloaddefinitions-ce7ea2923f1dc8c8fbd5600f14e356ffed99072b.tar.gz
Add strata, systems and cluster morpologies for google compute engine.baserock/markdoffman/google-compute-engine
Add the ability to create baserock images compatible with google compute engine. Add an example cluster morphology that does this.
Diffstat (limited to 'google-compute-engine/etc/skel/.bash_logout')
-rw-r--r--google-compute-engine/etc/skel/.bash_logout7
1 files changed, 7 insertions, 0 deletions
diff --git a/google-compute-engine/etc/skel/.bash_logout b/google-compute-engine/etc/skel/.bash_logout
new file mode 100644
index 00000000..de4f5f75
--- /dev/null
+++ b/google-compute-engine/etc/skel/.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
+
+if [ "$SHLVL" = 1 ]; then
+ [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
+fi