diff --git a/.github/workflows/friendlywrt.yml b/.github/workflows/friendlywrt.yml index 3347ba9db10f4ebbe3ac7356a3113145c05c1dfd..734444195e3742581073441888026e255ca80796 100644 --- a/.github/workflows/friendlywrt.yml +++ b/.github/workflows/friendlywrt.yml @@ -89,6 +89,7 @@ jobs: cd friendlywrt-rk3328 sed -i '/Load Average/i\\t\t<%:CPU Temperature%><%=luci.sys.exec("cut -c1-2 /sys/class/thermal/thermal_zone0/temp")%> ℃' friendlywrt/feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm sed -i 's/pcdata(boardinfo.system or "?")/"ARMv8"/' friendlywrt/feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm + sed -i 's/<%=luci.sys.exec("cat \/etc\/bench.log") or " "%>//' friendlywrt/feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm sed -i "/redirect_https/d" friendlywrt/package/network/services/uhttpd/files/uhttpd.config sed -i '/luciversion/a \/ ${{ steps.changelog.outputs.buildtag }} by scw' friendlywrt/feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm cp ../scripts/fw_update.sh friendlywrt/package/base-files/files/usr/bin/fw_update diff --git a/.github/workflows/friendlywrt_with_features.yml b/.github/workflows/friendlywrt_with_features.yml index 175397d3c99a5682930c8e8430f8d80d626a38dc..360878c2a94a506bcf9f7d58008ce016f3340c13 100644 --- a/.github/workflows/friendlywrt_with_features.yml +++ b/.github/workflows/friendlywrt_with_features.yml @@ -89,6 +89,7 @@ jobs: cd friendlywrt-rk3328 sed -i '/Load Average/i\\t\t<%:CPU Temperature%><%=luci.sys.exec("cut -c1-2 /sys/class/thermal/thermal_zone0/temp")%> ℃' friendlywrt/feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm sed -i 's/pcdata(boardinfo.system or "?")/"ARMv8"/' friendlywrt/feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm + sed -i 's/<%=luci.sys.exec("cat \/etc\/bench.log") or " "%>//' friendlywrt/feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm sed -i "/redirect_https/d" friendlywrt/package/network/services/uhttpd/files/uhttpd.config sed -i '/luciversion/a \/ ${{ steps.changelog.outputs.buildtag }} by scw' friendlywrt/feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm cp ../scripts/fw_update.sh friendlywrt/package/base-files/files/usr/bin/fw_update