showdns tool added

This commit is contained in:
Cyryl Płotnicki 2016-09-18 14:50:04 +02:00
parent f0a0f7cbef
commit 2e905d88a6
1 changed files with 3 additions and 0 deletions

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-