From 73afee9e66253f5e27ad757ce4553a92b6d49f50 Mon Sep 17 00:00:00 2001 From: lgs2007m <116912542@qq.com> Date: Mon, 9 Jan 2023 19:02:56 +0800 Subject: [PATCH] Add files via upload --- padavanonly/Redmi-AX6000/diy-part1.sh | 19 +++++++++++++++++++ padavanonly/Redmi-AX6000/diy-part2.sh | 14 ++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 padavanonly/Redmi-AX6000/diy-part1.sh create mode 100644 padavanonly/Redmi-AX6000/diy-part2.sh diff --git a/padavanonly/Redmi-AX6000/diy-part1.sh b/padavanonly/Redmi-AX6000/diy-part1.sh new file mode 100644 index 0000000..2399ef2 --- /dev/null +++ b/padavanonly/Redmi-AX6000/diy-part1.sh @@ -0,0 +1,19 @@ +#!/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 +echo 'src-git messense https://github.com/messense/aliyundrive-webdav' >>feeds.conf.default diff --git a/padavanonly/Redmi-AX6000/diy-part2.sh b/padavanonly/Redmi-AX6000/diy-part2.sh new file mode 100644 index 0000000..45acc88 --- /dev/null +++ b/padavanonly/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