diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-05-24 00:14:08 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-05-24 00:14:08 +0200 |
commit | 3a27d7ab194aa7c3b426824710a95e049e6006ff (patch) | |
tree | e411e40d65f7446292919ee3648a07e0f7faccaa /usr | |
parent | inet6.sh (diff) | |
download | n-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')
-rwxr-xr-x | usr/local/bin/inet6.sh | 2 |
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 |