Skip to content

Commit 515a276

Browse files
committed
* update config
1 parent 1b5c404 commit 515a276

File tree

3 files changed

+76
-218
lines changed

3 files changed

+76
-218
lines changed

diy-part1.sh

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,4 @@
1010
# Description: OpenWrt DIY script part 1 (Before Update feeds)
1111
#
1212

13-
echo 'src-git helloworld https://github.com/fw876/helloworld' >> feeds.conf.default
1413

15-
# Other customizations
16-
mkdir package/custom
17-
18-
## Theme Argon
19-
git clone -b master https://github.com/jerrykuku/luci-theme-argon.git package/custom/luci-theme-argon
20-
git clone https://github.com/jerrykuku/luci-app-argon-config package/custom/luci-app-argon-config
21-
22-
# TODO Redmi AC2100 SPEC config
23-
## MTK Driver
24-
### Include driver and luci-app-mtwifi
25-
# git clone https://github.com/MeIsReallyBa/Redmi2100-WIFI-ProprietaryDriver-linux5.4 package/custom/mtkdriver
26-
27-
# git clone https://github.com/zzsj0928/luci-app-pushbot.git package/luci-app-pushbot

diy-part2.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,11 @@
1616
# 修正连接数(by ベ七秒鱼ベ)
1717
sed -i '/customized in this file/a net.netfilter.nf_conntrack_max=65535' package/base-files/files/etc/sysctl.conf
1818

19-
20-
# Modify theme
21-
sed -i 's/luci-theme-netgear/luci-theme-argon/g' feeds/luci/collections/luci/Makefile
22-
2319
# Modify NTP Server
2420
sed -i "s/0.openwrt.pool.ntp.org/ntp.aliyun.com/g" package/base-files/files/bin/config_generate
2521
sed -i "s/1.openwrt.pool.ntp.org/cn.ntp.org.cn/g" package/base-files/files/bin/config_generate
2622
sed -i "s/2.openwrt.pool.ntp.org/cn.pool.ntp.org/g" package/base-files/files/bin/config_generate
2723

2824
# 添加核心温度的显示
2925
sed -i 's|pcdata(boardinfo.system or "?")|luci.sys.exec("uname -m") or "?"|g' feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
30-
sed -i 's/or "1"%>/or "1"%> ( <%=luci.sys.exec("expr `cat \/sys\/class\/thermal\/thermal_zone0\/temp` \/ 1000") or "?"%> \&#8451; ) /g' feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
26+
sed -i 's/or "1"%>/or "1"%> ( <%=luci.sys.exec("expr `cat \/sys\/class\/thermal\/thermal_zone0\/temp` \/ 1000") or "?"%> \&#8451; ) /g' feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm

0 commit comments

Comments
 (0)