add cmd to container to help and --cmd

This commit is contained in:
Heavybullets8 2022-08-16 20:08:03 -06:00
parent 9b998c8553
commit 2af51cf049
2 changed files with 5 additions and 0 deletions

View File

@ -48,6 +48,7 @@ echo "--mount | Initiates mounting feature, choose between unmounting an
echo "--restore | Opens a menu to restore a \"heavy_script\" backup that was taken on your \"ix-applications\" dataset" echo "--restore | Opens a menu to restore a \"heavy_script\" backup that was taken on your \"ix-applications\" dataset"
echo "--delete-backup | Opens a menu to delete backups on your system" echo "--delete-backup | Opens a menu to delete backups on your system"
echo "--dns | list all of your applications DNS names and their web ports" echo "--dns | list all of your applications DNS names and their web ports"
echo "--cmd | Open a shell for one of your applications"
echo echo
echo "Update Types" echo "Update Types"
echo "------------" echo "------------"

View File

@ -41,6 +41,9 @@ do
dns) dns)
dns="true" dns="true"
;; ;;
cmd)
cmd="true"
;;
restore) restore)
restore="true" restore="true"
;; ;;
@ -136,6 +139,7 @@ done
#Continue to call functions in specific order #Continue to call functions in specific order
[[ "$self_update" == "true" ]] && self_update [[ "$self_update" == "true" ]] && self_update
[[ "$help" == "true" ]] && help [[ "$help" == "true" ]] && help
[[ "$cmd" == "true" ]] && cmd_to_container
[[ "$deleteBackup" == "true" ]] && deleteBackup && exit [[ "$deleteBackup" == "true" ]] && deleteBackup && exit
[[ "$dns" == "true" ]] && dns && exit [[ "$dns" == "true" ]] && dns && exit
[[ "$restore" == "true" ]] && restore && exit [[ "$restore" == "true" ]] && restore && exit