From c478752fd4b7b22f194ff9ff5005f7b218031fb7 Mon Sep 17 00:00:00 2001 From: klever Date: Thu, 19 Mar 2020 18:05:09 +0100 Subject: [PATCH] some changes --- .github/workflows/r1s_lean.yml | 31 ++++++++----------- .github/workflows/r1s_lean_h3.yml | 35 ++++++++++------------ .github/workflows/r1s_lienol.yml | 15 +++------- .github/workflows/r2s_lean.yml | 18 ++++------- .github/workflows/r2s_lean_minimal.yml | 11 ++----- .github/workflows/r2s_lienol.yml | 29 ++++++++---------- .github/workflows/r2s_lienol_from_lean.yml | 4 ++- JUNK/fix_wifi.sh | 0 JUNK/flash.sh | 0 app_config.seed | 4 +++ enable_autocore.diff | 18 +++++++++-- fix_cpufreq.diff | 4 +-- 12 files changed, 77 insertions(+), 92 deletions(-) mode change 100755 => 100644 JUNK/fix_wifi.sh mode change 100755 => 100644 JUNK/flash.sh diff --git a/.github/workflows/r1s_lean.yml b/.github/workflows/r1s_lean.yml index be6b4c5..b734f3c 100644 --- a/.github/workflows/r1s_lean.yml +++ b/.github/workflows/r1s_lean.yml @@ -12,12 +12,12 @@ on: jobs: build: - + runs-on: ubuntu-latest if: github.repository == 'klever1988/nanopi-openwrt' - + steps: - + - name: Checkout uses: actions/checkout@master with: @@ -32,18 +32,18 @@ jobs: sudo apt-get -y install bc build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler wget -O - https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | bash sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk - + - name: Install Repo run: | git clone https://github.com/friendlyarm/repo sudo cp repo/repo /usr/bin/ - + - name: Init Source run: | mkdir friendlywrt-h5 cd friendlywrt-h5 - repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master -m h5.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle - repo sync -c --no-clone-bundle -j8 + repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master -m h5.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle --depth=1 + repo sync -c --no-tags --no-clone-bundle -j8 - name: Mods run: | @@ -72,20 +72,14 @@ jobs: rm -rf luci-theme-argon git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon.git cd ../../ - sed -i '/exit/i\mv /etc/rc.d/S25dockerd /etc/rc.d/S92dockerd && sed -i "s/START=25/START=92/g" S92dockerd' package/lean/default-settings/files/zzz-default-settings + git apply ../../enable_autocore.diff sed -i '/uci commit luci/i\uci set luci.main.mediaurlbase="/luci-static/argon"' package/lean/default-settings/files/zzz-default-settings sed -i '/exit/i\chown -R root:root /usr/share/netdata/web' package/lean/default-settings/files/zzz-default-settings sed -i 's/option fullcone\t1/option fullcone\t0/' package/network/config/firewall/files/firewall.config + sed -i '/exit/i\find /etc/rc.d/ -name *docker* -delete' package/lean/default-settings/files/zzz-default-settings sed -i '/8.8.8.8/d' package/base-files/files/root/setup.sh echo -e '\nDYC Build\n' >> package/base-files/files/etc/banner - - - name: Mod luci - run: | - cd friendlywrt-h5/friendlywrt - ./scripts/feeds update -a && ./scripts/feeds install -a - sed -i '/Load Average/i\<%:CPU Temperature%><%=luci.sys.exec("cut -c1-2 /sys/class/thermal/thermal_zone0/temp")%>' 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 run: | cd friendlywrt-h5 @@ -143,12 +137,13 @@ jobs: draft: false prerelease: false - name: Upload Release Asset - id: upload-release-asset + id: upload-release-asset uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.sec_token }} with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps asset_path: ./artifact.zip asset_name: ${{ steps.assemble_artifact.outputs.release_tag }}-ROM.zip asset_content_type: application/zip + diff --git a/.github/workflows/r1s_lean_h3.yml b/.github/workflows/r1s_lean_h3.yml index a531d76..44f1a6e 100644 --- a/.github/workflows/r1s_lean_h3.yml +++ b/.github/workflows/r1s_lean_h3.yml @@ -2,7 +2,7 @@ name: r1s(H3) Lean版openwrt on: push: - branches: + branches: - master paths: - '.github/workflows/r1s_lean_h3.yml_' @@ -12,12 +12,12 @@ on: jobs: build: - + runs-on: ubuntu-latest if: github.repository == 'klever1988/nanopi-openwrt' - + steps: - + - name: Checkout uses: actions/checkout@master with: @@ -32,19 +32,19 @@ jobs: sudo apt-get -y install bc build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler wget -O - https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | bash sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk - + - name: Install Repo run: | git clone https://github.com/friendlyarm/repo sudo cp repo/repo /usr/bin/ - + - name: Init Source run: | mkdir friendlywrt-h3 cd friendlywrt-h3 - repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master -m h3.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle - repo sync -c --no-clone-bundle -j8 - + repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master -m h3.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle --depth=1 + repo sync -c --no-tags --no-clone-bundle -j8 + - name: Mods run: | cd friendlywrt-h3 @@ -75,20 +75,14 @@ jobs: rm -rf luci-theme-argon git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon.git cd ../../ - sed -i '/exit/i\mv /etc/rc.d/S25dockerd /etc/rc.d/S92dockerd && sed -i "s/START=25/START=92/g" S92dockerd' package/lean/default-settings/files/zzz-default-settings + git apply ../../enable_autocore.diff sed -i '/uci commit luci/i\uci set luci.main.mediaurlbase="/luci-static/argon"' package/lean/default-settings/files/zzz-default-settings sed -i '/exit/i\chown -R root:root /usr/share/netdata/web' package/lean/default-settings/files/zzz-default-settings sed -i 's/option fullcone\t1/option fullcone\t0/' package/network/config/firewall/files/firewall.config + sed -i '/exit/i\find /etc/rc.d/ -name *docker* -delete' package/lean/default-settings/files/zzz-default-settings sed -i '/8.8.8.8/d' package/base-files/files/root/setup.sh echo -e '\nDYC Build\n' >> package/base-files/files/etc/banner - - - name: Mod luci - run: | - cd friendlywrt-h3/friendlywrt - ./scripts/feeds update -a && ./scripts/feeds install -a - sed -i '/Load Average/i\<%:CPU Temperature%><%=luci.sys.exec("cut -c1-2 /sys/class/thermal/thermal_zone0/temp")%>' feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm - sed -i 's/pcdata(boardinfo.system or "?")/"ARMv7"/' feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm - + - name: Build FriendlyWrt run: | cd friendlywrt-h3 @@ -146,12 +140,13 @@ jobs: draft: false prerelease: false - name: Upload Release Asset - id: upload-release-asset + id: upload-release-asset uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.sec_token }} with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps asset_path: ./artifact.zip asset_name: ${{ steps.assemble_artifact.outputs.release_tag }}-ROM.zip asset_content_type: application/zip + diff --git a/.github/workflows/r1s_lienol.yml b/.github/workflows/r1s_lienol.yml index f160d3d..d33171e 100644 --- a/.github/workflows/r1s_lienol.yml +++ b/.github/workflows/r1s_lienol.yml @@ -42,9 +42,9 @@ jobs: run: | mkdir friendlywrt-h5 cd friendlywrt-h5 - repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master-v19.07.1 -m h5.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle - repo sync -c --no-clone-bundle -j8 - cd friendlywrt/ && git fetch + repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master-v19.07.1 -m h5.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle --depth=1 + repo sync -c --no-tags --no-clone-bundle -j8 + cd friendlywrt/ && git fetch --unshallow - name: Mods run: | @@ -60,19 +60,12 @@ jobs: git rebase adc1a9a3676b8d7be1b48b5aed185a94d8e42728^ --onto tmp -X theirs git revert --no-edit f092ca098e80c667b10cdd1dba328506a2673c1d git checkout upstream/dev-19.07 -- feeds.conf.default + git apply ../../enable_autocore.diff sed -i '/ucl upx/d' tools/Makefile sed -i '/exit/i\chown -R root:root /usr/share/netdata/web' package/default-settings/files/zzz-default-settings sed -i 's/option fullcone\t1/option fullcone\t0/' package/network/config/firewall/files/firewall.config sed -i '/8.8.8.8/d' package/base-files/files/root/setup.sh echo -e '\nDYC Build\n' >> package/base-files/files/etc/banner - - - name: Mod luci - run: | - cd friendlywrt-h5/friendlywrt - ./scripts/feeds update -a && ./scripts/feeds install -a - ln -s /usr/bin/upx staging_dir/host/bin/upx - sed -i '/Load Average/i\
<%:CPU Temperature%>
<%=luci.sys.exec("cut -c1-2 /sys/class/thermal/thermal_zone0/temp")%>
' 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 run: | diff --git a/.github/workflows/r2s_lean.yml b/.github/workflows/r2s_lean.yml index f9ea580..04d24c7 100644 --- a/.github/workflows/r2s_lean.yml +++ b/.github/workflows/r2s_lean.yml @@ -80,21 +80,12 @@ jobs: cd ../../ git apply ../../enable_autocore.diff git apply ../../fix_cpufreq.diff - #sed -i '/exit/i\mv /etc/rc.d/S25dockerd /etc/rc.d/S92dockerd && sed -i "s/START=25/START=92/g" S92dockerd' package/lean/default-settings/files/zzz-default-settings - sed -i '/exit/i\/etc/init.d/dockerd disabled' package/lean/default-settings/files/zzz-default-settings sed -i '/uci commit luci/i\uci set luci.main.mediaurlbase="/luci-static/argon"' package/lean/default-settings/files/zzz-default-settings sed -i '/exit/i\chown -R root:root /usr/share/netdata/web' package/lean/default-settings/files/zzz-default-settings - #sed -i 's/option fullcone\t1/option fullcone\t0/' package/network/config/firewall/files/firewall.config + sed -i 's/option fullcone\t1/option fullcone\t0/' package/network/config/firewall/files/firewall.config + sed -i '/exit/i\find /etc/rc.d/ -name *docker* -delete' package/lean/default-settings/files/zzz-default-settings sed -i '/8.8.8.8/d' package/base-files/files/root/setup.sh echo -e '\nDYC Build\n' >> package/base-files/files/etc/banner - #rm target/linux/rockchip-rk3328/base-files/etc/modules.d/10-rtl8821cu - - - name: Mod luci - run: | - cd friendlywrt-rk3328/friendlywrt - ./scripts/feeds update -a && ./scripts/feeds install -a - sed -i '/Load Average/i\<%:CPU Temperature%><%=luci.sys.exec("cut -c1-2 /sys/class/thermal/thermal_zone0/temp")%>' 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 run: | @@ -126,12 +117,13 @@ jobs: draft: false prerelease: false - name: Upload Release Asset - id: upload-release-asset + id: upload-release-asset uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.sec_token }} with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps asset_path: ./artifact.zip asset_name: ${{ steps.assemble_artifact.outputs.release_tag }}-ROM.zip asset_content_type: application/zip + diff --git a/.github/workflows/r2s_lean_minimal.yml b/.github/workflows/r2s_lean_minimal.yml index 913577c..021b185 100644 --- a/.github/workflows/r2s_lean_minimal.yml +++ b/.github/workflows/r2s_lean_minimal.yml @@ -67,6 +67,8 @@ jobs: CONFIG_PACKAGE_htop=y CONFIG_PACKAGE_diffutils=y CONFIG_PACKAGE_vim-fuller=y + CONFIG_PACKAGE_pv=y + CONFIG_PACKAGE_unzip=y CONFIG_PACKAGE_luci-app-frpc=y CONFIG_PACKAGE_luci-app-netdata=y CONFIG_LIBSODIUM_MINIMAL=y @@ -120,7 +122,6 @@ jobs: # CONFIG_PACKAGE_kmod-cryptodev is not set # CONFIG_V2RAY_COMPRESS_UPX is not set ' >> configs/config_rk3328 - # CONFIG_PACKAGE_luci-app-cpufreq is not set cd friendlywrt git config --local user.email "action@github.com" && git config --local user.name "GitHub Action" git remote add upstream https://github.com/coolsnowwolf/lede && git fetch upstream @@ -150,13 +151,6 @@ jobs: sed -i '/8.8.8.8/d' package/base-files/files/root/setup.sh echo -e '\nDYC Build\n' >> package/base-files/files/etc/banner - - name: Mod luci - run: | - cd friendlywrt-rk3328/friendlywrt - ./scripts/feeds update -a && ./scripts/feeds install -a - sed -i '/Load Average/i\<%:CPU Temperature%><%=luci.sys.exec("cut -c1-2 /sys/class/thermal/thermal_zone0/temp")%>' 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 run: | cd friendlywrt-rk3328 @@ -196,3 +190,4 @@ jobs: asset_path: ./artifact.zip asset_name: ${{ steps.assemble_artifact.outputs.release_tag }}-ROM.zip asset_content_type: application/zip + diff --git a/.github/workflows/r2s_lienol.yml b/.github/workflows/r2s_lienol.yml index f84fc2c..0159205 100644 --- a/.github/workflows/r2s_lienol.yml +++ b/.github/workflows/r2s_lienol.yml @@ -2,7 +2,7 @@ name: r2s Lienol版openwrt on: push: - branches: + branches: - master paths: - '.github/workflows/r2s_lienol.yml_' @@ -12,12 +12,12 @@ on: jobs: build: - + runs-on: ubuntu-latest if: github.repository == 'klever1988/nanopi-openwrt' - + steps: - + - name: Checkout uses: actions/checkout@master with: @@ -32,12 +32,12 @@ jobs: sudo apt-get -y install bc build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler wget -O - https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | bash sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk - + - name: Install Repo run: | git clone https://github.com/friendlyarm/repo sudo cp repo/repo /usr/bin/ - + - name: Init Source run: | mkdir friendlywrt-rk3328 @@ -45,11 +45,11 @@ jobs: 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 --depth=1 repo sync -c --no-tags --no-clone-bundle -j8 cd friendlywrt/ && git fetch --unshallow - + - name: Patch Kernel run: | . patch_kernel_5.4.22.sh - + - name: Mods run: | cd friendlywrt-rk3328 @@ -68,13 +68,9 @@ jobs: git checkout upstream/dev-19.07 -- feeds.conf.default sed -i '/exit/i\chown -R root:root /usr/share/netdata/web' package/default-settings/files/zzz-default-settings sed -i 's/option fullcone\t1/option fullcone\t0/' package/network/config/firewall/files/firewall.config + sed -i '/exit/i\find /etc/rc.d/ -name *docker* -delete' package/lean/default-settings/files/zzz-default-settings sed -i '/8.8.8.8/d' package/base-files/files/root/setup.sh echo -e '\nDYC Build\n' >> package/base-files/files/etc/banner - #sed -i '/#/d' target/linux/rockchip-rk3328/config-4.14 #fix compile error - #sed -i '/CONFIG_BLK_CGROUP/a\CONFIG_DEBUG_BLK_CGROUP=y' target/linux/rockchip-rk3328/config-4.14 #as above - #sed -i '/CONFIG_BLK_CGROUP/a\CONFIG_CFS_BANDWIDTH=y' target/linux/rockchip-rk3328/config-4.14 #as above - #sed -i '/CONFIG_BLK_CGROUP/a\CONFIG_RT_GROUP_SCHED=y' target/linux/rockchip-rk3328/config-4.14 #as above - #sed -i '/CONFIG_BLK_CGROUP/a\CONFIG_CGROUP_FREEZER=y' target/linux/rockchip-rk3328/config-4.14 #as above sed -i '/CONFIG_BLK_CGROUP/a\CONFIG_CGROUP_PERF=y' target/linux/rockchip-rk3328/config-4.14 #as above - name: Mod luci @@ -89,7 +85,7 @@ jobs: cd friendlywrt-rk3328 sed -i 's/set -eu/set -u/' scripts/mk-friendlywrt.sh ./build.sh nanopi_r2s.mk - + - name: Zip Files run: | gzip friendlywrt-rk3328/out/*.img @@ -114,12 +110,13 @@ jobs: draft: false prerelease: false - name: Upload Release Asset - id: upload-release-asset + id: upload-release-asset uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.sec_token }} with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps asset_path: ./artifact.zip asset_name: ${{ steps.assemble_artifact.outputs.release_tag }}-ROM.zip asset_content_type: application/zip + diff --git a/.github/workflows/r2s_lienol_from_lean.yml b/.github/workflows/r2s_lienol_from_lean.yml index 2c3ad41..30fe9a6 100644 --- a/.github/workflows/r2s_lienol_from_lean.yml +++ b/.github/workflows/r2s_lienol_from_lean.yml @@ -67,6 +67,8 @@ jobs: CONFIG_PACKAGE_htop=y CONFIG_PACKAGE_diffutils=y CONFIG_PACKAGE_vim-fuller=y + CONFIG_PACKAGE_pv=y + CONFIG_PACKAGE_unzip=y CONFIG_PACKAGE_luci-app-frpc=y CONFIG_PACKAGE_luci-app-netdata=y CONFIG_LIBSODIUM_MINIMAL=y @@ -181,4 +183,4 @@ jobs: asset_path: ./artifact.zip asset_name: ${{ steps.assemble_artifact.outputs.release_tag }}-ROM.zip asset_content_type: application/zip - + diff --git a/JUNK/fix_wifi.sh b/JUNK/fix_wifi.sh old mode 100755 new mode 100644 diff --git a/JUNK/flash.sh b/JUNK/flash.sh old mode 100755 new mode 100644 diff --git a/app_config.seed b/app_config.seed index bad3e62..3164303 100644 --- a/app_config.seed +++ b/app_config.seed @@ -81,5 +81,9 @@ CONFIG_PACKAGE_luci-theme-material=y CONFIG_PACKAGE_luci-theme-netgear-mc=y CONFIG_PACKAGE_luci-theme-openwrt=y +CONFIG_PACKAGE_pv=y +CONFIG_PACKAGE_unzip=y + CONFIG_PACKAGE_autocore=y CONFIG_PACKAGE_luci-app-smartdns=y + diff --git a/enable_autocore.diff b/enable_autocore.diff index 510151b..411c89d 100644 --- a/enable_autocore.diff +++ b/enable_autocore.diff @@ -1,5 +1,5 @@ diff --git a/package/lean/autocore/Makefile b/package/lean/autocore/Makefile -index 5a3ea113..1f52537b 100644 +index 5a3ea11..1f52537 100644 --- a/package/lean/autocore/Makefile +++ b/package/lean/autocore/Makefile @@ -17,7 +17,7 @@ include $(INCLUDE_DIR)/package.mk @@ -12,7 +12,7 @@ index 5a3ea113..1f52537b 100644 define Package/autocore/description diff --git a/package/lean/autocore/files/autocore b/package/lean/autocore/files/autocore -index 55cd519f..06d202c0 100755 +index 55cd519..06d202c 100755 --- a/package/lean/autocore/files/autocore +++ b/package/lean/autocore/files/autocore @@ -33,7 +33,7 @@ start() @@ -33,8 +33,20 @@ index 55cd519f..06d202c0 100755 ethtool -K $c gso on >/dev/null 2>&1 ethtool -K $c tso on >/dev/null 2>&1 ethtool -K $c ufo on >/dev/null 2>&1 +diff --git a/package/lean/autocore/files/index.htm b/package/lean/autocore/files/index.htm +index 22d1a55..0198c38 100644 +--- a/package/lean/autocore/files/index.htm ++++ b/package/lean/autocore/files/index.htm +@@ -720,6 +720,7 @@ + <%:Firmware Version%> + <%=pcdata(ver.distname)%> <%=pcdata(ver.distversion)%> / + <%=pcdata(ver.luciname)%> (<%=pcdata(ver.luciversion)%>) ++ built by DYC + + <%:Kernel Version%><%=unameinfo.release or "?"%> + <%:Local Time%>- diff --git a/package/lean/autocore/files/sbin/cpuinfo b/package/lean/autocore/files/sbin/cpuinfo -index 19ea5fb2..60e7acda 100755 +index 19ea5fb..60e7acd 100755 --- a/package/lean/autocore/files/sbin/cpuinfo +++ b/package/lean/autocore/files/sbin/cpuinfo @@ -2,7 +2,7 @@ diff --git a/fix_cpufreq.diff b/fix_cpufreq.diff index ecd6948..9cbddb2 100644 --- a/fix_cpufreq.diff +++ b/fix_cpufreq.diff @@ -6,7 +6,7 @@ index 0443dc77..214d7cb8 100644 config settings 'cpufreq' - option maxfreq '716000' -+ option maxfreq '0' ++ option maxfreq '1296000' option upthreshold '50' option factor '10' option minifreq '300000' @@ -19,7 +19,7 @@ index df42f3c7..c81e237d 100755 local governor=$(uci_get_by_type settings governor ondemand) local minifreq=$(uci_get_by_type settings minifreq 48000) - local maxfreq=$(uci_get_by_type settings maxfreq 716000) -+ local maxfreq=$(uci_get_by_type settings maxfreq 0) ++ local maxfreq=$(uci_get_by_type settings maxfreq 1296000) local upthreshold=$(uci_get_by_type settings upthreshold 50) local factor=$(uci_get_by_type settings factor 10)