Skip to content

Commit

Permalink
Update block-isp.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAminiDev authored Jul 13, 2024
1 parent 75bd2ce commit f0e7a14
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions scripts/isp-blocker/block-isp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ show_isp_menu() {
main_menu() {
clear
while true; do
echo "Please choose one of the options below"
echo "Please choose one of the options below"
echo "1) Block ISP"
echo "2) Unblock ISP"
echo "3) Unblock all ISP"
Expand All @@ -110,11 +110,15 @@ main_menu() {
case $main_choice in
1)
show_isp_menu
block_ips $isp_url $isp_name
if [ $? -eq 0 ]; then
block_ips $isp_url $isp_name
fi
;;
2)
show_isp_menu
unblock_ips $isp_url $isp_name
if [ $? -eq 0 ]; then
unblock_ips $isp_url $isp_name
fi
;;
3)
unblock_all
Expand Down

0 comments on commit f0e7a14

Please sign in to comment.