Pārlūkot izejas kodu

Add a scary warning if you choose Google DNS

Bob Mottram 7 gadus atpakaļ
vecāks
revīzija
45acf8738a
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2
    0
      src/freedombone-app-pihole

+ 2
- 0
src/freedombone-app-pihole Parādīt failu

213
             ;;
213
             ;;
214
         18) PIHOLE_DNS1='8.8.8.8'
214
         18) PIHOLE_DNS1='8.8.8.8'
215
             PIHOLE_DNS2='4.4.4.4'
215
             PIHOLE_DNS2='4.4.4.4'
216
+            dialog --title $"WARNING" \
217
+                   --msgbox $"\nGoogle's main purpose for providing DNS resolvers is to spy upon people and know which sites they are visiting.\n\nThis is something to consider, and you should only really be using Google DNS as a last resort if other resolvers are unavailable." 12 60
216
             ;;
218
             ;;
217
         255) exit 1;;
219
         255) exit 1;;
218
     esac
220
     esac