summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-05-24 00:14:08 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2023-05-24 00:14:08 +0200
commit3a27d7ab194aa7c3b426824710a95e049e6006ff (patch)
treee411e40d65f7446292919ee3648a07e0f7faccaa /usr/local
parentinet6.sh (diff)
downloadn-3a27d7ab194aa7c3b426824710a95e049e6006ff.tar
n-3a27d7ab194aa7c3b426824710a95e049e6006ff.tar.gz
n-3a27d7ab194aa7c3b426824710a95e049e6006ff.tar.bz2
n-3a27d7ab194aa7c3b426824710a95e049e6006ff.tar.lz
n-3a27d7ab194aa7c3b426824710a95e049e6006ff.tar.xz
n-3a27d7ab194aa7c3b426824710a95e049e6006ff.tar.zst
n-3a27d7ab194aa7c3b426824710a95e049e6006ff.zip
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/bin/inet6.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/bin/inet6.sh b/usr/local/bin/inet6.sh
index 94b761a..280038b 100755
--- a/usr/local/bin/inet6.sh
+++ b/usr/local/bin/inet6.sh
@@ -1,3 +1,3 @@
#!/bin/sh
-k=`ip a s dev wlp0s20f3 scope global | grep inet6 | grep -v fd16 | cut -d\ -f6 | cut -d/ -f1 | head -n1`
+k=`ip a s scope global | grep inet6 | grep -v fd16 | cut -d\ -f6 | cut -d/ -f1 | head -n1`
echo -n $k