add info function

This commit is contained in:
Michael Stanclift 2020-10-23 14:23:53 +00:00
parent 277e7bd07b
commit 470dc3a2da
2 changed files with 12 additions and 0 deletions

View File

@ -157,6 +157,9 @@ case $# in
sudo) sudo)
start_gs start_gs
task_sudo ;; task_sudo ;;
info)
start_gs
task_info ;;
*) *)
start_gs start_gs
task_invalid ;; task_invalid ;;

View File

@ -145,3 +145,12 @@ function task_version {
show_version show_version
exit_nochange exit_nochange
} }
## Info Task
function task_info() {
TASKTYPE='INFO'
MESSAGE="${MESSAGE}: ${TASKTYPE} Requested"
exit_nochange
}