diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-05-24 00:12:55 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-05-24 00:12:55 +0200 |
commit | f09879b85dd2dffe659e00f8d19c04507f89d690 (patch) | |
tree | 4dd790e7b71e1cc218841893044d86e280b26b22 /usr | |
parent | dino web call support, i3config xbacklight (diff) | |
download | n-f09879b85dd2dffe659e00f8d19c04507f89d690.tar n-f09879b85dd2dffe659e00f8d19c04507f89d690.tar.gz n-f09879b85dd2dffe659e00f8d19c04507f89d690.tar.bz2 n-f09879b85dd2dffe659e00f8d19c04507f89d690.tar.lz n-f09879b85dd2dffe659e00f8d19c04507f89d690.tar.xz n-f09879b85dd2dffe659e00f8d19c04507f89d690.tar.zst n-f09879b85dd2dffe659e00f8d19c04507f89d690.zip |
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/bin/inet6.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/bin/inet6.sh b/usr/local/bin/inet6.sh new file mode 100755 index 0000000..94b761a --- /dev/null +++ b/usr/local/bin/inet6.sh @@ -0,0 +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` +echo -n $k |