Add new additional package luci-app-xray
This commit is contained in:
@@ -41,3 +41,7 @@ CONFIG_FEED__alpine_fan_control=m
|
||||
|
||||
### luci-app-netspeedtest
|
||||
#GIT_PACKAGE luci-app-netspeedtest=https://github.com/openwrt-xiaomi/luci-app-netspeedtest.git master
|
||||
|
||||
|
||||
### luci-app-xray
|
||||
#GIT_PACKAGE luci-app-xray=https://github.com/yichya/luci-app-xray.git master
|
||||
|
||||
@@ -225,3 +225,5 @@ CONFIG_PACKAGE_luci-i18n-nlbwmon-ru=y
|
||||
#DISABLED_SVC=nextdns
|
||||
#DISABLED_SVC=dnscrypt-proxy
|
||||
#DISABLED_SVC=shadowsocks-libev
|
||||
#DISABLED_SVC=xray_core
|
||||
#DISABLED_SVC=xray
|
||||
|
||||
@@ -22,3 +22,9 @@ CONFIG_PACKAGE_shadowsocks-libev-ss-rules=y
|
||||
CONFIG_PACKAGE_shadowsocks-libev-ss-tunnel=y
|
||||
CONFIG_PACKAGE_luci-app-shadowsocks-libev=y
|
||||
CONFIG_PACKAGE_luci-i18n-shadowsocks-libev-ru=y
|
||||
|
||||
CONFIG_PACKAGE_kmod-nft-tproxy=y
|
||||
#CONFIG_PACKAGE_xray-core=y
|
||||
CONFIG_PACKAGE_luci-app-xray=y
|
||||
#CONFIG_PACKAGE_v2ray-geoip=y
|
||||
#CONFIG_PACKAGE_v2ray-geosite=y
|
||||
|
||||
10
xmake.sh
10
xmake.sh
@@ -63,6 +63,16 @@ if [ -n "$DIS_SVC_LST" ]; then
|
||||
echo $DIS_SVC_LST > $DIS_SVC_FN
|
||||
fi
|
||||
|
||||
LUCI_XRAY_MK=$XDIR/package/addons/luci-app-xray/core/Makefile
|
||||
if [ -f $LUCI_XRAY_MK ]; then
|
||||
pkg_xray_core=$( get_cfg_pkg_flag $CFG )
|
||||
if [ "$pkg_xray_core" != "y" ]; then
|
||||
# Forced disable xray-core package
|
||||
sed -i '/CONFIG_PACKAGE_xray-core=/d' $CFG
|
||||
sed -i 's/ +xray-core / /g' $LUCI_XRAY_MK
|
||||
fi
|
||||
fi
|
||||
|
||||
make defconfig
|
||||
|
||||
NSS_DRV_PPPOE_ENABLE=$( get_cfg_opt_flag $CFG NSS_DRV_PPPOE_ENABLE )
|
||||
|
||||
Reference in New Issue
Block a user