update set_var module
This commit is contained in:
parent
a2f7313cc5
commit
89b75f0147
@ -63,6 +63,11 @@ def main():
|
|||||||
fh = open("/etc/eole/config.eol", 'w')
|
fh = open("/etc/eole/config.eol", 'w')
|
||||||
fh.write(cjson.encode(store))
|
fh.write(cjson.encode(store))
|
||||||
fh.close()
|
fh.close()
|
||||||
|
|
||||||
|
if not save :
|
||||||
|
to_save = raw_input("Souhaitez vous sauvegarder la configuration sur Zephir ? (O/N) ")
|
||||||
|
if to_save == "O":
|
||||||
|
save = True
|
||||||
if save:
|
if save:
|
||||||
cmd="""/usr/share/zephir/scripts/zephir_client save_files"""
|
cmd="""/usr/share/zephir/scripts/zephir_client save_files"""
|
||||||
output = os.popen(cmd)
|
output = os.popen(cmd)
|
Loading…
Reference in New Issue
Block a user