|
24 | 24 | # Standard script variables. |
25 | 25 |
|
26 | 26 | # Semantic version number of this script. |
27 | | -geo_nft_ver=v2.2.2 |
| 27 | +geo_nft_ver=v2.2.3 |
28 | 28 |
|
29 | 29 | # Filename of this script. |
30 | 30 | script_name="geo-nft.sh" |
@@ -705,6 +705,10 @@ check_refill_config() { |
705 | 705 | # the 'refill-sets.nft' script. |
706 | 706 | print_line"No settings found. Skipping automatic generation of:""\n""$refill_file""\n" \ |
707 | 707 | "To use this feature configure settings in$refill_conf""\n" |
| 708 | +if ["$enable_refill"="yes" ];then |
| 709 | +print_line"The 'enable_refill' variable will be set to 'no' for this run.""\n" |
| 710 | +enable_refill="no" |
| 711 | +fi |
708 | 712 | elif ["$no_line4"="yes" ];then |
709 | 713 | # No 'define-ipv4' lines were found in 'refill-sets.conf', even though enable_ipv4=yes, |
710 | 714 | # so skip the automatic generation of the 'refill-sets.nft' script. |
@@ -744,6 +748,10 @@ check_refill_config() { |
744 | 748 | else |
745 | 749 | # The refill-sets.conf doesn't exist, so create it. |
746 | 750 | make_refill_config |
| 751 | +if ["$enable_refill"="yes" ];then |
| 752 | +print_line"The 'enable_refill' variable will be set to 'no' for this run.""\n" |
| 753 | +enable_refill="no" |
| 754 | +fi |
747 | 755 | fi |
748 | 756 | } |
749 | 757 |
|
|