summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin/mrt
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-03-28 00:44:05 -0700
committerXiao Pan <gky44px1999@gmail.com>2023-03-28 00:44:05 -0700
commite4c84bb2d4a18bbfeca70bb17b7fb32515e3f963 (patch)
treea9ab69270ae8c1a11f1f4e258c0b2bc6b7b95117 /home/xyz/.local/bin/mrt
parent6a69913867c169e453eba95321aecafbdeeac47a (diff)
more comments
Diffstat (limited to 'home/xyz/.local/bin/mrt')
-rwxr-xr-xhome/xyz/.local/bin/mrt1
1 files changed, 1 insertions, 0 deletions
diff --git a/home/xyz/.local/bin/mrt b/home/xyz/.local/bin/mrt
index f370b48d..ffe5d3e5 100755
--- a/home/xyz/.local/bin/mrt
+++ b/home/xyz/.local/bin/mrt
@@ -26,6 +26,7 @@ mullvad relay update
# https://stackoverflow.com/a/38972737/9008720
# https://stackoverflow.com/a/17988834/9008720
# https://unix.stackexchange.com/q/63891/459013
+# https://stackoverflow.com/a/17914105/9008720
for relay in $(mullvad relay list | awk -v location="$location" '
$0 ~ location {f=1;next}
/^\t[[:alpha:]]/ {f=0}