File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ #
3
+ # Copyright (c) 2019-2020 P3TERX <https://p3terx.com>
4
+ #
5
+ # This is free software, licensed under the MIT License.
6
+ # See /LICENSE for more information.
7
+ #
8
+ # https://github.com/P3TERX/Actions-OpenWrt
9
+ # File name: diy-part1.sh
10
+ # Description: OpenWrt DIY script part 1 (Before Update feeds)
11
+ #
12
+
13
+ # Uncomment a feed source
14
+ # sed -i 's/^#\(.*helloworld\)/\1/' feeds.conf.default
15
+
16
+ # Add a feed source
17
+ # echo 'src-git helloworld https://github.com/fw876/helloworld' >>feeds.conf.default
18
+ # echo 'src-git passwall https://github.com/xiaorouji/openwrt-passwall' >>feeds.conf.default
19
+ # echo 'src-git passwall_packages https://github.com/xiaorouji/openwrt-passwall-packages.git;main' >> feeds.conf.default
20
+ # echo 'src-git passwall_luci https://github.com/xiaorouji/openwrt-passwall.git;main' >> feeds.conf.default
21
+
22
+ echo ' src-git kenzo https://github.com/kenzok8/openwrt-packages' >> feeds.conf.default
23
+ echo ' src-git small https://github.com/kenzok8/small' >> feeds.conf.default
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ #
3
+ # Copyright (c) 2019-2020 P3TERX <https://p3terx.com>
4
+ #
5
+ # This is free software, licensed under the MIT License.
6
+ # See /LICENSE for more information.
7
+ #
8
+ # https://github.com/P3TERX/Actions-OpenWrt
9
+ # File name: diy-part2.sh
10
+ # Description: OpenWrt DIY script part 2 (After Update feeds)
11
+ #
12
+
13
+ # Modify default IP
14
+ sed -i ' s/192.168.1.1/192.168.10.1/g' package/base-files/files/bin/config_generate
15
+
16
+ # sed -i '/set luci.main.mediaurlbase=\/luci-static\/bootstrap/d' feeds/luci/themes/luci-theme-bootstrap/root/etc/uci-defaults/30_luci-theme-bootstrap
You can’t perform that action at this time.
0 commit comments