From: Michael Tremer Date: Sun, 26 Dec 2010 21:52:07 +0000 (+0100) Subject: sendprofile: Add --public-id switch. X-Git-Tag: v2.0.0~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf07eeb1e78bf7784fe74a85f33203408a8cb9a5;p=oddments%2Ffireinfo.git sendprofile: Add --public-id switch. --- diff --git a/sendprofile b/sendprofile index de43c99..9beff9c 100644 --- a/sendprofile +++ b/sendprofile @@ -111,6 +111,10 @@ def main(): print system._unique_id return 0 + if "--public-id" in sys.argv: + print system.public_id + return 0 + if not os.path.exists(ENABLED_FILE): del profile["profile"]