summaryrefslogtreecommitdiffstats
path: root/OS
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2015-11-28 19:46:13 +0100
committerstartxfr <clarue@startx.fr>2015-11-28 19:46:13 +0100
commit348568c89ae1ad19270e930c02a1492bc43e99b1 (patch)
tree97514774d5c27789d9383f5085103eb9775b6a52 /OS
parent05c9aa4a4d3572168878bf0e81eeac724a95454d (diff)
downloadphpmyadmin-348568c89ae1ad19270e930c02a1492bc43e99b1.tar.gz
phpmyadmin-348568c89ae1ad19270e930c02a1492bc43e99b1.tar.bz2
phpmyadmin-348568c89ae1ad19270e930c02a1492bc43e99b1.tar.xz
phpmyadmin-348568c89ae1ad19270e930c02a1492bc43e99b1.zip
Adding display of OS flavour at startup and improving flexibility of services with env param
Diffstat (limited to 'OS')
-rw-r--r--OS/run.sh3
-rw-r--r--OS/sx-lib.sh1
2 files changed, 3 insertions, 1 deletions
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 : $(</etc/redhat-release)"
if [ -v CONTAINER_TYPE ]; then
echo "| Type : $CONTAINER_TYPE"
fi