mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-09 13:06:44 +03:00
Upgrade Podtop to v0.6.2 and used sing-box-tiny
This commit is contained in:
BIN
podkop_packets/luci-app-podkop-v0.6.2-r1-all.ipk
Normal file
BIN
podkop_packets/luci-app-podkop-v0.6.2-r1-all.ipk
Normal file
Binary file not shown.
BIN
podkop_packets/luci-i18n-podkop-ru-0.6.2.ipk
Normal file
BIN
podkop_packets/luci-i18n-podkop-ru-0.6.2.ipk
Normal file
Binary file not shown.
BIN
podkop_packets/podkop-v0.6.2-r1-all.ipk
Normal file
BIN
podkop_packets/podkop-v0.6.2-r1-all.ipk
Normal file
Binary file not shown.
@@ -619,15 +619,16 @@ checkPackageAndInstall "curl" "1"
|
|||||||
checkPackageAndInstall "unzip" "1"
|
checkPackageAndInstall "unzip" "1"
|
||||||
checkPackageAndInstall "opera-proxy" "1"
|
checkPackageAndInstall "opera-proxy" "1"
|
||||||
checkPackageAndInstall "zapret" "1"
|
checkPackageAndInstall "zapret" "1"
|
||||||
|
opkg remove --force-removal-of-dependent-packages "sing-box"
|
||||||
|
|
||||||
findVersion="1.12.0"
|
findVersion="1.12.0"
|
||||||
if opkg list-installed | grep "^sing-box" && printf '%s\n%s\n' "$findVersion" "$VERSION" | sort -V | tail -n1 | grep -qx -- "$VERSION"; then
|
if opkg list-installed | grep "^sing-box-tiny" && printf '%s\n%s\n' "$findVersion" "$VERSION" | sort -V | tail -n1 | grep -qx -- "$VERSION"; then
|
||||||
printf "\033[32;1mInstalled new sing-box. Running scprit...\033[0m\n"
|
printf "\033[32;1mInstalled new sing-box-tiny. Running scprit...\033[0m\n"
|
||||||
else
|
else
|
||||||
printf "\033[32;1mInstalled old sing-box or not install sing-box. Reinstall sing-box...\033[0m\n"
|
printf "\033[32;1mInstalled old sing-box-tiny or not install sing-box-tiny. Reinstall sing-box-tiny...\033[0m\n"
|
||||||
manage_package "podkop" "enable" "stop"
|
manage_package "podkop" "enable" "stop"
|
||||||
opkg remove --force-removal-of-dependent-packages "sing-box"
|
opkg remove --force-removal-of-dependent-packages "sing-box-tiny"
|
||||||
checkPackageAndInstall "sing-box" "1"
|
checkPackageAndInstall "sing-box-tiny" "1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
opkg upgrade amneziawg-tools
|
opkg upgrade amneziawg-tools
|
||||||
@@ -1250,7 +1251,7 @@ case $varByPass in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
PACKAGE="podkop"
|
PACKAGE="podkop"
|
||||||
REQUIRED_VERSION="v0.5.6-r1"
|
REQUIRED_VERSION="v0.6.2-r1"
|
||||||
|
|
||||||
INSTALLED_VERSION=$(opkg list-installed | grep "^$PACKAGE" | cut -d ' ' -f 3)
|
INSTALLED_VERSION=$(opkg list-installed | grep "^$PACKAGE" | cut -d ' ' -f 3)
|
||||||
if [ -n "$INSTALLED_VERSION" ] && [ "$INSTALLED_VERSION" != "$REQUIRED_VERSION" ]; then
|
if [ -n "$INSTALLED_VERSION" ] && [ "$INSTALLED_VERSION" != "$REQUIRED_VERSION" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user