From 9a5140395f3466c7b1897f98e93645354a1cd3a1 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Tue, 14 Oct 2014 01:02:44 -0400 Subject: Remove bin --- bin/gdns | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100755 bin/gdns (limited to 'bin/gdns') 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 -- cgit 1.4.1