更新一些小细节
This commit is contained in:
parent
cfe0d072bd
commit
d41a76bb44
|
@ -11,8 +11,8 @@ PKG_SOURCE_PROTO:=git
|
|||
|
||||
ifeq ($(HOST_ARCH),aarch64)
|
||||
PKG_SOURCE_VERSION:=9f843531d8dae25772efff7590908e974cf48540
|
||||
PKG_MIRROR_HASH:=7699938adb7d5fe4f73aacd8082b497dca3eb288d6198edeb86209d14b5d83d7
|
||||
PKG_SOURCE_URL=http://gits.kos.org.cn:3000/k/rkbin.git
|
||||
PKG_MIRROR_HASH:=33370c2671a2f7eeb181932409ff2d3a6b07ff4b57e175e3066e09933f5330d1
|
||||
PKG_SOURCE_URL=https://git.kos.org.cn/k/rkbin.git
|
||||
PKG_SOURCE_DATE:=2023-05-31
|
||||
else
|
||||
PKG_SOURCE_URL=https://github.com/rockchip-linux/rkbin.git
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
swconfig dev $1 port 0 show
|
||||
swconfig dev $1 port 1 show
|
||||
swconfig dev $1 port 2 show
|
||||
swconfig dev $1 port 3 show
|
||||
swconfig dev $1 port 4 show
|
||||
swconfig dev $1 port 5 show
|
||||
swconfig dev $1 port 6 show
|
||||
swconfig dev $1 port 7 show
|
Binary file not shown.
|
@ -18,7 +18,7 @@ uci -q set network.pon_route.netmask='255.255.255.0'
|
|||
uci -q set network.pon_route.gateway='192.168.1.254'
|
||||
uci -q set network.pon_route.metric='100'
|
||||
uci -q commit network
|
||||
chmod +x /bin/aio_pon
|
||||
chmod +x /bin/aio_pon /bin/gets
|
||||
sed -i 's/swconfig dev %q show/gets %q/' /usr/lib/lua/luci/tools/status.lua
|
||||
sed -i '2a\aio_pon' /etc/rc.local
|
||||
mkdir /etc/hotplug.d/firmware
|
||||
|
|
Loading…
Reference in New Issue