From: Roland Häder Date: Thu, 9 Nov 2023 14:07:34 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f21d16aa60b886554563fe3f4d4a3cffef481b7b;p=fba.git Continued: - not less websites set their (sub-)domain name as software - maybe let's double-check them if they have fixed it --- diff --git a/nodeinfo.sh b/nodeinfo.sh index 8c3e370..3ec3862 100755 --- a/nodeinfo.sh +++ b/nodeinfo.sh @@ -6,7 +6,7 @@ SOFTWARE_LIST="" if [ "$1" = "--help" ] then - echo "Usage: $0 [file|--software|--nodeinfo|--generator|--timeout]" + echo "Usage: $0 [file|--software|--nodeinfo|--generator|--timeout|--same]" exit 255 elif [ -n "$1" -a -f "$1" ] then @@ -28,6 +28,10 @@ elif [ "$1" = "--generator" ] then DOMAINS=$(sqlite3 blocks.db "SELECT domain FROM instances WHERE detection_mode='GENERATOR' ORDER BY last_updated ASC;") MODE="generator" +elif [ "$1" = "--same" ] +then + DOMAINS=$(sqlite3 blocks.db "SELECT domain FROM instances WHERE domain=software ORDER BY last_updated ASC;") + MODE="same" else DOMAINS=$(sqlite3 blocks.db "SELECT domain FROM instances WHERE software IS NULL AND nodeinfo_url IS NOT NULL ORDER BY last_updated ASC;") fi