From: Michael Tremer Date: Sat, 11 Dec 2010 00:18:29 +0000 (+0100) Subject: Add --secret-id switch and --hardware-string. X-Git-Tag: v0.8~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d20d36595845f846e46799eb3eeb910365935d7e;p=oddments%2Ffireinfo.git Add --secret-id switch and --hardware-string. --- diff --git a/sendprofile b/sendprofile index 8e21a1d..ed3d28b 100644 --- a/sendprofile +++ b/sendprofile @@ -85,6 +85,14 @@ def main(): print json.dumps(profile, sort_keys=True, indent=4) return 0 + if "--secret-id" in sys.argv: + print system.secret_id + return 0 + + if "--hardware-string" in sys.argv: + print system._unique_id + return 0 + if not os.path.exists(ENABLED_FILE): del profile["profile"]