5
from StringIO import StringIO
10
module = "/usr/share/checkbox/install/config"
11
exec open(module) in globals
12
config = globals["Config"]()
18
config_file = "/etc/checkbox.d/%s.ini" % args[0]
19
config = Config(config_file)
21
if config.has_section("checkbox/plugins") \
22
and not config.has_option("checkbox/plugins", "blacklist"):
23
config.set("checkbox/plugins", "blacklist", "backend_manager")
26
file = open(config_file, "w")
30
if __name__ == "__main__":