summaryrefslogtreecommitdiffstats
path: root/bin/change_dns
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2012-08-14 16:39:49 +0200
committerRasmus Steinke <rasi@xssn.at>2012-08-14 16:39:49 +0200
commit12650d0424141da59eb655ecbe459967f229638c (patch)
tree66a73916fc3c90afa716c10bfefa0706b1f41293 /bin/change_dns
parentf140a1642ebfde198946ad6760c1003c1cb9a8c3 (diff)
downloaddotfiles-12650d0424141da59eb655ecbe459967f229638c.tar.gz
dotfiles-12650d0424141da59eb655ecbe459967f229638c.tar.xz
removed jdownloader
Diffstat (limited to 'bin/change_dns')
-rwxr-xr-xbin/change_dns1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/change_dns b/bin/change_dns
new file mode 100755
index 0000000..55d1b4c
--- /dev/null
+++ b/bin/change_dns
@@ -0,0 +1 @@
+sudo perl -pi -e 'if ( not s/^nameserver/#nameserver/) { s/^#nameserver/nameserver/;}' /etc/resolv.conf