- not less websites set their (sub-)domain name as software
- maybe let's double-check them if they have fixed it
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
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