summary refs log tree commit diff
path: root/bin/gdns
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2014-10-14 01:02:44 -0400
committerJune McEnroe <june@causal.agency>2014-10-14 01:02:44 -0400
commit7b5e2fa9c2e6a97e41a110b3e9758cca12b1d84d (patch)
tree627a5af327931fb94b5d4d152f706978384543a5 /bin/gdns
parentRemove backup option from vimrc (diff)
downloadsrc-7b5e2fa9c2e6a97e41a110b3e9758cca12b1d84d.tar.gz
src-7b5e2fa9c2e6a97e41a110b3e9758cca12b1d84d.zip
Remove bin
Diffstat (limited to 'bin/gdns')
-rwxr-xr-xbin/gdns11
1 files changed, 0 insertions, 11 deletions
diff --git a/bin/gdns b/bin/gdns
deleted file mode 100755
index 9433ba00..00000000
--- a/bin/gdns
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-if grep -q 'gdns.sh' /etc/resolv.conf; then
-  sed -i '1,3d' /etc/resolv.conf
-  echo 'Google DNS removed'
-else
-  sed -i '1i # Added by gdns.sh' /etc/resolv.conf
-  sed -i '2i nameserver 8.8.8.8' /etc/resolv.conf
-  sed -i '3i nameserver 8.8.4.4' /etc/resolv.conf
-  echo 'Google DNS added'
-fi