Răsfoiți Sursa

Added install to ts3 getopts

Daniel Gibbs 11 ani în urmă
părinte
comite
1706d2837f
1 a modificat fișierele cu 6 adăugiri și 2 ștergeri
  1. 6 2
      functions/fn_getopt

+ 6 - 2
functions/fn_getopt

@@ -2,7 +2,7 @@
 # LGSM fn_getopt function
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
-# Version: 060515
+# Version: 190515
 
 # Description: getopt arguments.
 
@@ -65,8 +65,12 @@ case "$getopt" in
 		fn_details;;
 	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;;
 esac
 exit