Added warning explanation variables
This commit is contained in:
parent
9841631734
commit
aad6b7876f
@ -92,12 +92,21 @@ unset 503Location
|
|||||||
unset webroot
|
unset webroot
|
||||||
errorExplain=()
|
errorExplain=()
|
||||||
exitWarn=()
|
exitWarn=()
|
||||||
|
warningExplain=()
|
||||||
|
|
||||||
|
|
||||||
### Error codes
|
### Error codes
|
||||||
errorExplain[2]="This script MUST be run as ROOT."
|
errorExplain[2]="This script MUST be run as ROOT."
|
||||||
|
|
||||||
|
|
||||||
|
### Warning codes & messages
|
||||||
|
warningExplain[5031]="No path to a 503 error page file was specified (-5 parameter missing)"
|
||||||
|
warningExplain[5032]="The specified 503 error page could not be found"
|
||||||
|
warningExplain[5033]="No webroot path was specified (-w parameter missing)"
|
||||||
|
warningExplain[5034]="The specified webroot could not be found"
|
||||||
|
warningExplain[5035]="Error copying 503 error page to webroot"
|
||||||
|
warn503="${bold}${yellow}Web users will NOT be informed the server is down!${normal}"
|
||||||
|
|
||||||
### Process script parameters
|
### Process script parameters
|
||||||
|
|
||||||
# if no parameters provided, then show the help page and exit with error
|
# if no parameters provided, then show the help page and exit with error
|
||||||
|
Loading…
Reference in New Issue
Block a user