From 348568c89ae1ad19270e930c02a1492bc43e99b1 Mon Sep 17 00:00:00 2001 From: startxfr Date: Sat, 28 Nov 2015 19:46:13 +0100 Subject: Adding display of OS flavour at startup and improving flexibility of services with env param --- OS/run.sh | 3 ++- OS/sx-lib.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'OS') diff --git a/OS/run.sh b/OS/run.sh index e1c94c6..13a5bd4 100644 --- a/OS/run.sh +++ b/OS/run.sh @@ -3,4 +3,5 @@ source /bin/sx-lib.sh check_environment display_container_header -display_container_started \ No newline at end of file +display_container_started +tail -f /etc/redhat-release \ No newline at end of file diff --git a/OS/sx-lib.sh b/OS/sx-lib.sh index 362683f..7d6aac2 100644 --- a/OS/sx-lib.sh +++ b/OS/sx-lib.sh @@ -24,6 +24,7 @@ function check_environment { function display_container_header { echo "+=====================================================" echo "| Container : $HOSTNAME" + echo "| OS : $(