diff options
-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 |