Update sites.inc

This commit is contained in:
2023-11-12 14:16:50 -06:00
parent 65d2554cfc
commit bca4e78824

View File

@@ -191,7 +191,7 @@ NEWSITE(){
printf "%-${width}s- %s\n" " -exploits {yes or no}" "(block exploits)" printf "%-${width}s- %s\n" " -exploits {yes or no}" "(block exploits)"
printf "%-${width}s- %s\n" " -secure {yes or no}" "(secure access [nginx/.htpasswd])" printf "%-${width}s- %s\n" " -secure {yes or no}" "(secure access [nginx/.htpasswd])"
echo "}" echo "}"
exit 1;; exit 0;;
esac esac
shift shift
done done
@@ -621,6 +621,14 @@ SITEINFO(){
case "${1}" in case "${1}" in
-edit|-e) EDIT=1;; -edit|-e) EDIT=1;;
-search|-s) SEARCH=${2};; -search|-s) SEARCH=${2};;
-h | -help | --help)
echo
echo -e "Usage: ${idsCL[Yellow]}nodemgmt newcert${idsCL[Default]} {"
width=33
printf "%-${width}s- %s\n" " -edit|-e" "(enables edit mode)"
printf "%-${width}s- %s\n" " -search|-s {search}" "(narrows list to hostnames containing {search})"
echo "}"
exit 0;;
esac esac
shift shift
done done