diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index f0335c46..3bfdc8fc 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -448,16 +448,16 @@ GUI(){ } if [ ${action-x} ]; then case $action in - newcert) NEWCERT;; + newcert) NEWCERT ${2};; certrenew) CERTRENEW;; nightlyrenew) NIGHTLYRENEW;; - delsite) DELSITE;; + delsite) DELSITE ${2};; newsite) NEWSITE ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14};; update) ;; - status) STATUS;; - status-check) STATUS-CHECK;; + status) STATUS ${2};; + status-check) STATUS-CHECK ${2};; set-permissions) SET-PERMISSIONS;; - service) SERVICE;; + service) SERVICE ${2} ${3};; gui) GUI;; *) echo -e "Usage: ${idsCL[Yellow]}nodemgmt${idsCL[Default]} { ${idsCL[Yellow]}service${idsCL[Default]} [service] [action] | ${idsCL[Yellow]}status${idsCL[Default]} | ${idsCL[Yellow]}newcert${idsCL[Default]} [domain(,s)] | ${idsCL[Yellow]}certrenew${idsCL[Default]} }"