Update r2s_lienol.yml
This commit is contained in:
9
.github/workflows/r2s_lienol.yml
vendored
9
.github/workflows/r2s_lienol.yml
vendored
@@ -41,8 +41,8 @@ jobs:
|
||||
run: |
|
||||
mkdir friendlywrt-rk3328
|
||||
cd friendlywrt-rk3328
|
||||
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master-v19.07.1 -m rk3328.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle
|
||||
repo sync -c --no-clone-bundle
|
||||
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master-v19.07.1 -m rk3328.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle
|
||||
repo sync -c --no-clone-bundle -j8
|
||||
rm -rf friendlywrt/
|
||||
git clone https://github.com/friendlyarm/friendlywrt
|
||||
|
||||
@@ -73,8 +73,8 @@ jobs:
|
||||
CONFIG_PACKAGE_lrzsz=y
|
||||
CONFIG_PACKAGE_nano=y
|
||||
CONFIG_PACKAGE_vim-fuller=y
|
||||
CONFIG_PACKAGE_luci-app-cifsd=y
|
||||
CONFIG_PACKAGE_luci-app-netdata=y
|
||||
CONFIG_PACKAGE_luci-app-unblockneteasemusic-mini=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks=y
|
||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan=y
|
||||
@@ -105,9 +105,8 @@ jobs:
|
||||
- name: Mod luci
|
||||
run: |
|
||||
cd friendlywrt-rk3328/friendlywrt
|
||||
#./scripts/feeds clean -a
|
||||
./scripts/feeds update -a && ./scripts/feeds install -a
|
||||
sed -i '/Load Average/i\<tr><td width="33%"><%:CPU Temperature%></td><td><%=luci.sys.exec("cut -c1-2 /sys/class/thermal/thermal_zone0/temp")%></td></tr>' feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
|
||||
sed -i '/Load Average/i\<div class="tr"><div class="td left" width="33%"><%:CPU Temperature%></div><div class="td left" id="loadavg"><%=luci.sys.exec("cut -c1-2 /sys/class/thermal/thermal_zone0/temp")%></div></div>' feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
|
||||
sed -i 's/pcdata(boardinfo.system or "?")/"ARMv8"/' feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
|
||||
|
||||
- name: Build FriendlyWrt
|
||||
|
||||
Reference in New Issue
Block a user