darcs-hash:20040906144648-d1718-5e232e3530dd13d5b6dcf2995a6837ee9a426f52.gz
This commit is contained in:
bernat 2004-09-06 16:46:48 +02:00
parent 4882f01bb7
commit 275c8c0725

View file

@ -193,13 +193,14 @@ if gethostname().split(".")[0] == 'zamok':
# Erreur, il faudra relancer le service la prochaine fois # Erreur, il faudra relancer le service la prochaine fois
if auto : db.services_to_restart('%s' % i[1]) if auto : db.services_to_restart('%s' % i[1])
sys.stderr.write('Erreur dans le service %s\n' % i[1]) sys.stderr.write('Erreur dans le service %s\n' % i[1])
elif gethostname().split(".")[0] == 'nectaris': elif gethostname().split(".")[0] == 'nectaris':
# On s'occupe de nectaris # On s'occupe de nectaris
if 'conf_wifi' in to_do.keys(): if 'conf_wifi' in to_do.keys():
if auto : db.services_to_restart('-conf_wifi') if auto : db.services_to_restart('-conf_wifi')
try: try:
from gen_confs.wifi import wifi from gen_confs.wifi import conf_wifi
a = wifi() a = conf_wifi()
a.debug = debug a.debug = debug
a.reconfigure() a.reconfigure()
except: except: