packge: use mine optimized ssrp

This commit is contained in:
John Doe 2021-09-09 17:34:10 +08:00
parent bf5af1b867
commit b763128d7b
No known key found for this signature in database
GPG Key ID: 30F190E0C359CB4F

View File

@ -15,6 +15,14 @@ sed -i '/DEPENDS+/ s/$/ +wsdd2/' `find package/ -follow -type f -path '*/ksmbd-t
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/config/shadowsocksr ${dir_ssrp}/root/etc/config/shadowsocksr
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/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