summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-03-12 22:56:09 -0700
committerXiao Pan <gky44px1999@gmail.com>2024-03-12 22:56:09 -0700
commit20bfe1dc1d72a9b3eecf285714e98e98e7fd0a4c (patch)
tree4750d2e115efc48403c00083927200f75bb74239 /sh
parent4d31e79c1f0a9e4366cbb720b833bb005199d902 (diff)
fix: consider vip run on other devices
Diffstat (limited to 'sh')
-rwxr-xr-xsh/vip2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/vip b/sh/vip
index b7db458..0a0815f 100755
--- a/sh/vip
+++ b/sh/vip
@@ -6,7 +6,7 @@ case "$(nmcli -t --fields device,state device)" in
*wg_ka:connected*) echo ka;;
*wg_mydefault:connected*) echo mydefault;;
*wg_studio:connected*) echo studio;;
- *) echo insp;;
+ *) echo none;;
esac
printf 'default: '; curl -m1 ifconfig.co
printf '4: '; curl -4m1 ifconfig.co