-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathfeeds.sh
executable file
·33 lines (25 loc) · 1.16 KB
/
feeds.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
25
26
27
28
29
30
31
32
33
#########################################################################
# File Name: feeds.sh
# author: Carbon ([email protected])
# Description: feel free to use
# Created Time: 2022-07-23 13:04:43 UTC
# Modified Time: 2025-01-22 07:35:23 UTC
#########################################################################
#!/bin/bash
echo -e "\n# Custom feeds for OpenWrt" >> feeds.conf.default
# add custom packages
echo "Adding custom packages"
echo "src-git CustomPkgs https://github.com/ecrasy/custom-packages.git;for_official" >> feeds.conf.default
# passwall
echo "Adding xiaorouji passwall"
echo "src-git PWpackages https://github.com/ecrasy/openwrt-passwall.git;packages" >> feeds.conf.default
echo "src-git PWluci https://github.com/ecrasy/openwrt-passwall.git;luci" >> feeds.conf.default
# passwall2
echo "Adding xiaorouji Passwall2"
echo "src-git Passwall2 https://github.com/xiaorouji/openwrt-passwall2.git;main" >> feeds.conf.default
# ssrp
echo "Adding ShadowSocksR Plus"
echo "src-git ssrp https://github.com/ecrasy/ssrp.git;main" >> feeds.conf.default
echo "Remove git full clone"
sed -i "s/src-git-full/src-git/g" feeds.conf.default
echo "Adding Feeds Completed!!!"