Browse Source

Added install to ts3 getopts

pull/405/head
Daniel Gibbs 10 years ago
parent
commit
1706d2837f
  1. 8
      functions/fn_getopt

8
functions/fn_getopt

@ -2,7 +2,7 @@
# LGSM fn_getopt function # LGSM fn_getopt function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: http://gameservermanagers.com # Website: http://gameservermanagers.com
# Version: 060515 # Version: 190515
# Description: getopt arguments. # Description: getopt arguments.
@ -65,8 +65,12 @@ case "$getopt" in
fn_details;; fn_details;;
backup) backup)
fn_backup;; fn_backup;;
install)
fn_install;;
auto-install)
fn_autoinstall;;
*) *)
echo "Usage: $0 {start|stop|restart|update|monitor|email-test|details|backup}" echo "Usage: $0 {start|stop|restart|update|monitor|email-test|details|backup|install|auto-install}"
exit 1;; exit 1;;
esac esac
exit exit

Loading…
Cancel
Save