generated from P3TERX/Actions-OpenWrt
-
Notifications
You must be signed in to change notification settings - Fork 20
/
diy-part1.sh
executable file
·24 lines (21 loc) · 1.02 KB
/
diy-part1.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
#=============================================================
# https://github.com/P3TERX/Actions-OpenWrt
# File name: diy-part1.sh
# Description: OpenWrt DIY script part 1 (Before Update feeds)
# Lisence: MIT
# Author: P3TERX
# Blog: https://p3terx.com
#=============================================================
# Uncomment a feed source
#sed -i 's/^#\(.*helloworld\)/\1/' feeds.conf.default
# Add a feed source
#sed -i '$a src-git lienol https://github.com/Lienol/openwrt-package' feeds.conf.default
# 增加lean的ssr-plus
echo "src-git helloworld https://github.com/fw876/helloworld" >> feeds.conf.default
# 增加Lienol大神软件包 passwall及其依赖
echo "src-git lienol https://github.com/Lienol/openwrt-package" >> feeds.conf.default
# 增加Kenzok8的软件库 包含passwall及其依赖
#echo "src-git small https://github.com/kenzok8/small" >> feeds.conf.default
# echo "src-git kenzo https://github.com/kenzok8/openwrt-packages" >> feeds.conf.default
# ./scripts/feeds update -a && ./scripts/feeds install -a