update
This commit is contained in:
@@ -9,6 +9,13 @@ NEWCERT(){
|
|||||||
case "${1}" in
|
case "${1}" in
|
||||||
-test|-t) CERTTEST=1;;
|
-test|-t) CERTTEST=1;;
|
||||||
*) NEW_CERT=${1};;
|
*) NEW_CERT=${1};;
|
||||||
|
-h|-help|--help)
|
||||||
|
echo -e "Usage: ${idsCL[Yellow]}nodemgmt newcert {hostname}${idsCL[Default]} {"
|
||||||
|
width=33
|
||||||
|
printf "%-${width}s- %s\n" " -test" "(enables dry-run mode for CertBot)"
|
||||||
|
printf "%-${width}s- %s\n" " {hostname}" "(optional; enter hostname for new cert, comma-delimited for multiple)"
|
||||||
|
echo -e "}\n"
|
||||||
|
exit 0;;
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -190,6 +190,7 @@ NEWSITE(){
|
|||||||
printf "%-${width}s- %s\n" " -hsts {yes or no}" "(hsts support)"
|
printf "%-${width}s- %s\n" " -hsts {yes or no}" "(hsts support)"
|
||||||
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])"
|
||||||
|
printf "%-${width}s- %s\n" " -test" "(enables dry-run mode for CertBot)"
|
||||||
echo "}"
|
echo "}"
|
||||||
exit 0;;
|
exit 0;;
|
||||||
esac
|
esac
|
||||||
@@ -622,7 +623,7 @@ SITEINFO(){
|
|||||||
-edit|-e) EDIT=1;;
|
-edit|-e) EDIT=1;;
|
||||||
-search|-s) SEARCH=${2};;
|
-search|-s) SEARCH=${2};;
|
||||||
-h | -help | --help)
|
-h | -help | --help)
|
||||||
echo -e "Usage: ${idsCL[Yellow]}nodemgmt newcert${idsCL[Default]} {"
|
echo -e "Usage: ${idsCL[Yellow]}nodemgmt siteinfo${idsCL[Default]} {"
|
||||||
width=33
|
width=33
|
||||||
printf "%-${width}s- %s\n" " -edit|-e" "(enables edit mode)"
|
printf "%-${width}s- %s\n" " -edit|-e" "(enables edit mode)"
|
||||||
printf "%-${width}s- %s\n" " -search|-s {search}" "(narrows list to hostnames containing {search})"
|
printf "%-${width}s- %s\n" " -search|-s {search}" "(narrows list to hostnames containing {search})"
|
||||||
|
|||||||
Reference in New Issue
Block a user