Skip to content

Commit 0e173fb

Browse files
authored
Add files via upload
1 parent 7c56a59 commit 0e173fb

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

diy-part1.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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

diy-part2.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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

0 commit comments

Comments
 (0)