diff options
author | startxfr <clarue@startx.fr> | 2015-11-28 19:46:13 +0100 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2015-11-28 19:46:13 +0100 |
commit | 348568c89ae1ad19270e930c02a1492bc43e99b1 (patch) | |
tree | 97514774d5c27789d9383f5085103eb9775b6a52 /OS | |
parent | 05c9aa4a4d3572168878bf0e81eeac724a95454d (diff) | |
download | phpmyadmin-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.sh | 3 | ||||
-rw-r--r-- | OS/sx-lib.sh | 1 |
2 files changed, 3 insertions, 1 deletions
@@ -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 |