Static IP can be set regardles of the service state
authorMartin Xu <martin.xu@intel.com>
Tue, 9 Feb 2010 09:29:54 +0000 (10:29 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 11 Feb 2010 04:31:15 +0000 (05:31 +0100)
test/set-address

index cb3e203..c80eaed 100755 (executable)
@@ -20,9 +20,6 @@ for path in properties["Services"]:
 
        properties = service.GetProperties()
 
-       if properties["State"] != "ready":
-               continue
-
        print "Setting address %s for %s" % (sys.argv[1], path)
 
        if len(sys.argv) > 2: