adjust bfm scripts
This commit is contained in:
@@ -39,6 +39,7 @@ network_port() {
|
||||
/system/bin/netstat -tnulp | grep -q "${tproxy_port}" || log error "tproxy_port: ${tproxy_port} out of sync with config"
|
||||
fi
|
||||
if [ "${network_mode}" = "mixed" ] || [ "${proxy_mode}" = "tun" ]; then
|
||||
sleep 1
|
||||
/system/bin/ifconfig | grep -q "${tun_device}" || log error "tun_device: '${tun_device}' not found"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -4,13 +4,10 @@ scripts=$(realpath $0)
|
||||
scripts_dir=$(dirname ${scripts})
|
||||
source /data/adb/box/settings.ini
|
||||
|
||||
user_agent="${bin_name}"
|
||||
# set meta and dev flags
|
||||
meta=true
|
||||
# if meta flag is true, download clash.meta
|
||||
dev=false
|
||||
# option to download Singbox kernel beta or release
|
||||
singbox_releases=true
|
||||
user_agent="box_for_magisk"
|
||||
meta=true # option to download Clash kernel clash-premium{false} or clash-meta{true}
|
||||
dev=false # for clash-premium,
|
||||
singbox_releases=false # option to download Singbox kernel beta or release
|
||||
|
||||
# log on terminal
|
||||
logs() {
|
||||
|
||||
Reference in New Issue
Block a user