Explorar o código

Added update to ts3 getopt

Daniel Gibbs %!s(int64=11) %!d(string=hai) anos
pai
achega
e312940b66
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      functions/fn_getopt

+ 3 - 1
functions/fn_getopt

@@ -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)