From 91bb17e84826dd9ba201b6eea3eff8e6fee08245 Mon Sep 17 00:00:00 2001 From: lgs2007m <116912542@qq.com> Date: Mon, 9 Jan 2023 19:01:11 +0800 Subject: [PATCH] Add files via upload --- OpenWrt/Redmi-AX6000/diy-part1.sh | 18 ++++++++++++++++++ OpenWrt/Redmi-AX6000/diy-part2.sh | 14 ++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 OpenWrt/Redmi-AX6000/diy-part1.sh create mode 100644 OpenWrt/Redmi-AX6000/diy-part2.sh diff --git a/OpenWrt/Redmi-AX6000/diy-part1.sh b/OpenWrt/Redmi-AX6000/diy-part1.sh new file mode 100644 index 0000000..105598a --- /dev/null +++ b/OpenWrt/Redmi-AX6000/diy-part1.sh @@ -0,0 +1,18 @@ +#!/bin/bash +# +# Copyright (c) 2019-2020 P3TERX +# +# This is free software, licensed under the MIT License. +# See /LICENSE for more information. +# +# https://github.com/P3TERX/Actions-OpenWrt +# File name: diy-part1.sh +# Description: OpenWrt DIY script part 1 (Before Update feeds) +# + +# Uncomment a feed source +#sed -i 's/^#\(.*helloworld\)/\1/' feeds.conf.default + +# Add a feed source +#echo 'src-git helloworld https://github.com/fw876/helloworld' >>feeds.conf.default +#echo 'src-git passwall https://github.com/xiaorouji/openwrt-passwall' >>feeds.conf.default diff --git a/OpenWrt/Redmi-AX6000/diy-part2.sh b/OpenWrt/Redmi-AX6000/diy-part2.sh new file mode 100644 index 0000000..45acc88 --- /dev/null +++ b/OpenWrt/Redmi-AX6000/diy-part2.sh @@ -0,0 +1,14 @@ +#!/bin/bash +# +# Copyright (c) 2019-2020 P3TERX +# +# This is free software, licensed under the MIT License. +# See /LICENSE for more information. +# +# https://github.com/P3TERX/Actions-OpenWrt +# File name: diy-part2.sh +# Description: OpenWrt DIY script part 2 (After Update feeds) +# + +# Modify default IP +#sed -i 's/192.168.1.1/192.168.50.5/g' package/base-files/files/bin/config_generate