diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2017-07-23 08:28:46 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2017-07-23 08:29:10 +0000 |
commit | 098f18a504d97fec24bbe619370cdd2ca0d5b500 (patch) | |
tree | ae6f100cedf2537ad070f3fdb9977fa6ada16bcc /bin/container-shell | |
parent | Releasing debian version 20170701-1. (diff) | |
download | open-infrastructure-compute-tools-098f18a504d97fec24bbe619370cdd2ca0d5b500.tar.xz open-infrastructure-compute-tools-098f18a504d97fec24bbe619370cdd2ca0d5b500.zip |
Merging upstream version 20170722.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'bin/container-shell')
-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." |