This commit is contained in:
DHDAXCW
2024-03-20 17:51:35 +08:00
parent a432948460
commit 4683fc28dc
4 changed files with 1043 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
#
# Copyright (C) 2016-2023 GitHub
# Copyright (C) 2016-2017 GitHub
#
# This is free software, licensed under the GNU General Public License v3.
# See /LICENSE for more information.
@@ -7,8 +7,8 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=default-settings
PKG_VERSION:=3
PKG_RELEASE:=10
PKG_VERSION:=2
PKG_RELEASE:=35
PKG_LICENSE:=GPLv3
PKG_LICENSE_FILES:=LICENSE

View File

@@ -28,7 +28,7 @@ sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/usb_printer.lua
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/xunlei.lua
sed -i 's/services/nas/g' /usr/lib/lua/luci/view/minidlna_status.htm
#ln -sf /sbin/ip /usr/bin/ip
ln -sf /sbin/ip /usr/bin/ip
sed -i 's#downloads.openwrt.org#mirrors.cloud.tencent.com/lede#g' /etc/opkg/distfeeds.conf
sed -i 's/root::0:0:99999:7:::/root:$1$V4UetPzk$CYXluq4wUazHjmCDBCqXF.:0:0:99999:7:::/g' /etc/shadow
@@ -37,21 +37,14 @@ sed -i 's/root:::0:99999:7:::/root:$1$V4UetPzk$CYXluq4wUazHjmCDBCqXF.:0:0:99999:
sed -i "s/# //g" /etc/opkg/distfeeds.conf
sed -i '/openwrt_luci/ { s/snapshots/releases\/18.06.9/g; }' /etc/opkg/distfeeds.conf
sed -i '/check_signature/d' /etc/opkg.conf
sed -i '/REDIRECT --to-ports 53/d' /etc/firewall.user
#echo 'iptables -t nat -A PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 53' >> /etc/firewall.user
#echo 'iptables -t nat -A PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 53' >> /etc/firewall.user
#echo '[ -n "$(command -v ip6tables)" ] && ip6tables -t nat -A PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 53' >> /etc/firewall.user
#echo '[ -n "$(command -v ip6tables)" ] && ip6tables -t nat -A PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 53' >> /etc/firewall.user
#echo 'iptables -A OUTPUT -m string --string "api.installer.xiaomi.cn" --algo bm --to 65535 -j DROP' >> /etc/firewall.user
# echo 'iptables -A OUTPUT -m string --string "api.installer.xiaomi.cn" --algo bm --to 65535 -j DROP' >> /etc/firewall.user
sed -i '/option disabled/d' /etc/config/wireless
sed -i '/set wireless.radio${devidx}.disabled/d' /lib/wifi/mac80211.sh
sed -i '/DISTRIB_REVISION/d' /etc/openwrt_release
echo "DISTRIB_REVISION='R24.2.2'" >> /etc/openwrt_release
echo "DISTRIB_REVISION='R23.11.6-D'" >> /etc/openwrt_release
sed -i '/DISTRIB_DESCRIPTION/d' /etc/openwrt_release
echo "DISTRIB_DESCRIPTION='OpenWrt '" >> /etc/openwrt_release

File diff suppressed because it is too large Load Diff

View File

@@ -212,7 +212,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
+
+ rtl8125_2: pcie@20,0 {
+ reg = <0x000000 0 0 0 0>;
+ label = "eth2";
+ label = "eth1";
+ };
+ };
};
@@ -230,7 +230,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
+
+ rtl8125_1: pcie@40,0 {
+ reg = <0x000000 0 0 0 0>;
+ label = "eth1";
+ label = "eth0";
+ };
+ };
};