Pour la borne "non-configure", on ne met pas de nvram.updates...

darcs-hash:20050908212513-d1718-4b9012ce1cf57f764572203d245b335bdcd3b195.gz
This commit is contained in:
bernat 2005-09-08 23:25:13 +02:00
parent 6b88caeaf9
commit af60dc2f53

View file

@ -91,6 +91,7 @@ class conf_wifi_ng(gen_config) :
os.path.join("%s%s" % (WORK, root[len(top):]),
name))
# On créé/complète le fichier /etc/nvram.updates
if borne != "non-configure.wifi.crans.org":
fd = file(os.path.join(WORK, "etc", "nvram.updates"), "a")
data = { 'HOST': borne.nom().split('.')[0],
'IP': borne.ip(),