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-23 14:56:17 +0000
commitba8e2119c6fc5e4d9023fae558b6ec93a749af3d (patch)
tree6f098793ca5b8406f7fa9cad4b12c5bc751564e4 /google-compute-engine/etc/skel/.bash_logout
parent888021ec62166ca95b3e587c744dcbcac42e7dc6 (diff)
downloaddefinitions-ba8e2119c6fc5e4d9023fae558b6ec93a749af3d.tar.gz
Add strata, systems and cluster morpologies for google compute engine.baserock/markdoffman/google-compute-engine-rebase
Add the ability to create baserock images compatible with google compute engine. Add an example cluster morphology that does this. Change-Id: I3ecaef8c760fe2c539969d2f86fc704b3232e5bb
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