test disable input

This commit is contained in:
CodeRoK7
2025-02-25 22:50:42 +05:00
committed by GitHub
parent 6b46020866
commit dab5e0bbef

View File

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