Преглед изворни кода

Add a scary warning if you choose Google DNS

Bob Mottram пре 8 година
родитељ
комит
45acf8738a
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2
    0
      src/freedombone-app-pihole

+ 2
- 0
src/freedombone-app-pihole Прегледај датотеку

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