Removed manadatory parameter check -- no mandatory parameters (yet?)
This commit is contained in:
parent
0349e1e0c9
commit
5ff7a43870
@ -110,10 +110,10 @@ warn503="${bold}${yellow}Web users will NOT be informed the server is down!${nor
|
|||||||
### 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
|
||||||
if [ -z $1 ]; then
|
#if [ -z $1 ]; then
|
||||||
# show script help page
|
# # show script help page
|
||||||
scriptHelp
|
# scriptHelp
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
# use GetOpts to process parameters
|
# use GetOpts to process parameters
|
||||||
while getopts ':l:nv5:w:' PARAMS; do
|
while getopts ':l:nv5:w:' PARAMS; do
|
||||||
|
Loading…
Reference in New Issue
Block a user