Quellcode durchsuchen

Add a scary warning if you choose Google DNS

Bob Mottram vor 7 Jahren
Ursprung
Commit
45acf8738a
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2
    0
      src/freedombone-app-pihole

+ 2
- 0
src/freedombone-app-pihole Datei anzeigen

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