showdns tool added

This commit is contained in:
Cyryl Płotnicki 2016-09-18 14:50:04 +02:00
parent f0a0f7cbef
commit 2e905d88a6

3
tools/showdns Executable file
View file

@ -0,0 +1,3 @@
#!/bin//sh
nmcli device show | grep DNS | cut -d']' -f2 | tr -d ' ' | cut -c2-