summaryrefslogtreecommitdiffstats
path: root/sx.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-05 10:08:03 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-05 10:08:03 +0200
commit929520e63d9e51ca7e7e51a71d56f476653fef99 (patch)
treef342a3f6e51bd2225c72bf638747c36d38194229 /sx.sh
parent96660ef505d3e5763f057c793c29d694d11bf273 (diff)
downloadands-management-master.tar.gz
ands-management-master.tar.bz2
ands-management-master.tar.xz
ands-management-master.zip
Optimize dockerileHEADmaster
Diffstat (limited to 'sx.sh')
-rw-r--r--sx.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/sx.sh b/sx.sh
deleted file mode 100644
index beac660..0000000
--- a/sx.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-export TERM=xterm
-pid=0
-
-function display_container_header {
- echo "+====================================================="
- echo "| Container : $HOSTNAME"
- echo "| OS : $(</etc/redhat-release)"
- echo "| kubernetes : $KUBERNETES_SERVICE_HOST"
- echo "| user : $(whoami)"
- echo "| home : $HOME"
- echo "+====================================================="
-}
-
-function start_service {
- echo "+====================================================="
- echo "| Container $HOSTNAME is now RUNNING"
- echo "+====================================================="
- while true
- do
- echo "live... (next try in 1 hour)" & sleep 3600
- done
-}
-
-if [ -n "$HOME" ]; then
- [ -d "$HOME" ] || mkdir -p $HOME
-fi
-
-display_container_header
-start_service