summaryrefslogtreecommitdiffstats
path: root/bin/container-shell
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbin/container-shell16
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."