mirror of
https://github.com/stupidloud/nanopi-openwrt.git
synced 2025-06-03 07:51:34 +08:00
use my own ssrp
This commit is contained in:
parent
c2847f33dd
commit
090e5c082f
@ -25,6 +25,7 @@ function merge_feed(){
|
||||
rm -rf package/custom; mkdir package/custom
|
||||
merge_feed nas "https://github.com/linkease/nas-packages;master"
|
||||
merge_feed nas_luci "https://github.com/linkease/nas-packages-luci;main"
|
||||
merge_package https://github.com/klever1988/helloworld/trunk/luci-app-ssr-plus
|
||||
merge_package https://github.com/klever1988/openwrt-mos/trunk/luci-app-mosdns
|
||||
merge_package https://github.com/klever1988/openwrt-mos/trunk/mosdns
|
||||
merge_package https://github.com/project-lede/luci-app-godproxy
|
||||
|
@ -17,15 +17,6 @@ sed -i '/DEPENDS/ s/$/ +frpc/' `find package/ -follow -type f -path '*/luci-app-
|
||||
sed -i 's/ +ntfs-3g/ +ntfs3-mount/' `find package/ -follow -type f -path '*/automount/Makefile'`
|
||||
sed -i '/skip\=/ a skip=`mount | grep -q /dev/$device; echo $?`' `find package/ -follow -type f -path */automount/files/15-automount`
|
||||
|
||||
svn export https://github.com/klever1988/helloworld/trunk/luci-app-ssr-plus
|
||||
dir_ssrp=`find package/ -follow -type d -path '*/luci-app-ssr-plus'`
|
||||
cp luci-app-ssr-plus/root/etc/ssrplus/black.list ${dir_ssrp}/root/etc/ssrplus/black.list
|
||||
cp luci-app-ssr-plus/root/etc/ssrplus/white.list ${dir_ssrp}/root/etc/ssrplus/white.list
|
||||
cp luci-app-ssr-plus/root/etc/ssrplus/blockipv6.sh ${dir_ssrp}/root/etc/ssrplus/blockipv6.sh
|
||||
cp luci-app-ssr-plus/root/etc/ssrplus/blackipv4.sh ${dir_ssrp}/root/etc/ssrplus/blackipv4.sh
|
||||
cp luci-app-ssr-plus/root/usr/bin/ssr-rules ${dir_ssrp}/root/usr/bin/ssr-rules
|
||||
rm -rf luci-app-ssr-plus/
|
||||
|
||||
mkdir -p `find package/ -follow -type d -path '*/pdnsd-alt'`/patches
|
||||
mv $GITHUB_WORKSPACE/patches/99-disallow-aaaa.patch `find package/ -follow -type d -path '*/pdnsd-alt'`/patches
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user