Pour la borne "non-configure", on ne met pas de nvram.updates...
darcs-hash:20050908212513-d1718-4b9012ce1cf57f764572203d245b335bdcd3b195.gz
This commit is contained in:
parent
6b88caeaf9
commit
af60dc2f53
1 changed files with 17 additions and 16 deletions
|
@ -91,6 +91,7 @@ class conf_wifi_ng(gen_config) :
|
||||||
os.path.join("%s%s" % (WORK, root[len(top):]),
|
os.path.join("%s%s" % (WORK, root[len(top):]),
|
||||||
name))
|
name))
|
||||||
# On créé/complète le fichier /etc/nvram.updates
|
# 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")
|
fd = file(os.path.join(WORK, "etc", "nvram.updates"), "a")
|
||||||
data = { 'HOST': borne.nom().split('.')[0],
|
data = { 'HOST': borne.nom().split('.')[0],
|
||||||
'IP': borne.ip(),
|
'IP': borne.ip(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue