|
@ -2,7 +2,7 @@ |
|
|
# LGSM fn_getopt function |
|
|
# LGSM fn_getopt function |
|
|
# Author: Daniel Gibbs |
|
|
# Author: Daniel Gibbs |
|
|
# Website: http://danielgibbs.co.uk |
|
|
# Website: http://danielgibbs.co.uk |
|
|
# Version: 080214 |
|
|
# Version: 150314 |
|
|
|
|
|
|
|
|
# Description: getopt arguments. |
|
|
# Description: getopt arguments. |
|
|
|
|
|
|
|
@ -56,6 +56,8 @@ case "$getopt" in |
|
|
fn_stop;; |
|
|
fn_stop;; |
|
|
restart) |
|
|
restart) |
|
|
fn_restart;; |
|
|
fn_restart;; |
|
|
|
|
|
update) |
|
|
|
|
|
fn_update_check;; |
|
|
backup) |
|
|
backup) |
|
|
fn_backup;; |
|
|
fn_backup;; |
|
|
monitor) |
|
|
monitor) |
|
|