summaryrefslogtreecommitdiff
path: root/rif-checkfriends.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rif-checkfriends.sh')
-rwxr-xr-xrif-checkfriends.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/rif-checkfriends.sh b/rif-checkfriends.sh
index 24bb12f..af02921 100755
--- a/rif-checkfriends.sh
+++ b/rif-checkfriends.sh
@@ -1,13 +1,13 @@
#!/bin/sh
# 2019-09-10, Nico Schottelius, Seoul
-gpg --list-keys --with-colons | grep RIF | awk -F: '{ print $10 }' | sed 's/\\x3a/:/' | (
+gpg --list-keys --with-colons | grep RI6F | awk -F: '{ print $10 }' | sed 's/\\x3a/:/' | (
while read line
do
name=$(echo $line | sed 's/\(.*\)(.*/\1/')
# Assume by default offline
online=offline
- url=$(echo $line | sed -e 's/.*(RIF //' -e 's/).*//')
+ url=$(echo $line | sed -e 's/.*(RI6F //' -e 's/).*//')
echo "Checking $name on $url ..."
curl -6 -s "$url" > /dev/null && online=online
echo $name is $online