From 3a27d7ab194aa7c3b426824710a95e049e6006ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Wed, 24 May 2023 00:14:08 +0200 Subject: inet6.sh fix any if --- usr/local/bin/inet6.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr') 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 -- cgit v1.2.3