浏览代码

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