新增 非 lean 源码支持(测试)

This commit is contained in:
Hyy2001X
2021-01-06 15:36:19 +08:00
parent c95e9c7673
commit 25ef37274c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ GET_TARGET_INFO() {
[ -z ${AutoUpdate_Version} ] && AutoUpdate_Version="未知"
Default_File="package/lean/default-settings/files/zzz-default-settings"
[ -f ${Default_File} ] && Lede_Version=$(egrep -o "R[0-9]+\.[0-9]+\.[0-9]+" $Default_File)
[ -z ${Lede_Version} ] && Lede_Version="AutoBuild"
[ -z ${Lede_Version} ] && Lede_Version="Openwrt"
Openwrt_Version="${Lede_Version}-${Compile_Date}"
TARGET_PROFILE=$(egrep -o "CONFIG_TARGET.*DEVICE.*=y" .config | sed -r 's/.*DEVICE_(.*)=y/\1/')
[ -z "${TARGET_PROFILE}" ] && TARGET_PROFILE="${Default_Device}"