瀏覽代碼

download linuxgsm.sh in to tmp dir for comparisons

Daniel Gibbs 9 年之前
父節點
當前提交
664a7d6da1
共有 1 個文件被更改,包括 4 次插入0 次删除
  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