Fix bug input confirm install podkop

This commit is contained in:
CodeRoK7
2025-02-25 22:55:52 +05:00
committed by GitHub
parent dab5e0bbef
commit 762aaa9b99

View File

@@ -244,7 +244,7 @@ if [ -f "/etc/init.d/podkop" ]; then
URL="https://raw.githubusercontent.com/CodeRoK7/RouterichAX3000_configs/refs/heads/main"
printf "Podkop installed. Reconfigured on AWG WARP? (y/n): \n"
is_reconfig_podkop="y"
#read is_reconfig_podkop
read is_reconfig_podkop
if [ "$is_reconfig_podkop" = "y" ] || [ "$is_reconfig_podkop" = "Y" ]; then
cp -f "$path_podkop_config" "$path_podkop_config_backup"
wget -O "$path_podkop_config" "$URL/podkop"
@@ -256,7 +256,7 @@ if [ -f "/etc/init.d/podkop" ]; then
else
printf "\033[32;1mInstall and configure PODKOP (a tool for point routing of traffic)?? (y/n): \033[0m\n"
is_install_podkop="y"
#read is_install_podkop
read is_install_podkop
if [ "$is_install_podkop" = "y" ] || [ "$is_install_podkop" = "Y" ]; then
DOWNLOAD_DIR="/tmp/podkop"