diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2017-07-23 08:28:38 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2017-07-23 08:28:38 +0000 |
commit | 67dd59d5d9d8efb620ba8b65c7a661a8ae6a1365 (patch) | |
tree | 43300ba57e2427696d7d9b0b6ff14275d991f912 /bin | |
parent | Adding upstream version 20170701. (diff) | |
download | open-infrastructure-compute-tools-67dd59d5d9d8efb620ba8b65c7a661a8ae6a1365.tar.xz open-infrastructure-compute-tools-67dd59d5d9d8efb620ba8b65c7a661a8ae6a1365.zip |
Adding upstream version 20170722.upstream/20170722
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/container-shell | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/bin/container-shell b/bin/container-shell index 38a9ab9..4903465 100755 --- a/bin/container-shell +++ b/bin/container-shell @@ -63,9 +63,23 @@ Shell () echo cd "/usr/lib/${SOFTWARE}/${PROGRAM}" - find . -type f -printf "%f\n" | sort + find . -type f -printf " %f\n" | sort cd "${OLDPWD}" + if [ -n "${CONTAINER_COMMANDS_ENABLE}" ] + then + echo + echo "The following container commands are enabled for the current user:" + echo " ${CONTAINER_COMMANDS_ENABLE}" + fi + + if [ -n "${CONTAINER_COMMANDS_DISABLE}" ] + then + echo + echo "The following container commands are disabled for the current user:" + echo " ${CONTAINER_COMMANDS_DISABLE}" + fi + echo echo "Use 'help COMMAND' for more information." |