Browse Source

download linuxgsm.sh in to tmp dir for comparisons

Daniel Gibbs 9 năm trước cách đây
mục cha
commit
664a7d6da1
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      linuxgsm.sh

+ 4 - 0
linuxgsm.sh

@@ -363,6 +363,10 @@ else
 	else
 	else
 		source "${configdirserver}/${servicename}.cfg"
 		source "${configdirserver}/${servicename}.cfg"
 	fi
 	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
 	getopt=$1
 	core_getopt.sh
 	core_getopt.sh
 fi
 fi