Procházet zdrojové kódy

download linuxgsm.sh in to tmp dir for comparisons

Daniel Gibbs před 9 roky
rodič
revize
664a7d6da1
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4 0
      linuxgsm.sh

+ 4 - 0
linuxgsm.sh

@@ -363,6 +363,10 @@ else
 	else
 		source "${configdirserver}/${servicename}.cfg"
 	fi
+	# Load the linuxgsm.sh in to tmpdir. If missing download it
+	if [ ! -f "${tmpdir}/linuxgsm.sh" ];then
+		fn_fetch_file_github "" "linuxgsm.sh" "${tmpdir}" "nochmodx" "norun" "noforcedl" "nomd5"
+	fi
 	getopt=$1
 	core_getopt.sh
 fi