Il peut y avoir une borne wifi sur une prise sans adhrent.
darcs-hash:20041210171737-41617-7206e435832d8483d92564e0503037cf9936867c.gz
This commit is contained in:
parent
caea06f8fc
commit
f18d8b29ad
1 changed files with 5 additions and 3 deletions
|
@ -298,8 +298,10 @@ exit
|
||||||
act = 1
|
act = 1
|
||||||
break
|
break
|
||||||
|
|
||||||
if not act :
|
if not act :
|
||||||
prise_params['etat']='\n disable'
|
# Peut être une borne wifi ?
|
||||||
|
if not self.db.search('prise=%s%s' % (bat.upper(), annu_prise))['machine'] :
|
||||||
|
prise_params['etat']='\n disable'
|
||||||
|
|
||||||
params['INTERFACES_CONF'] += self.interface_template % prise_params
|
params['INTERFACES_CONF'] += self.interface_template % prise_params
|
||||||
|
|
||||||
|
@ -368,7 +370,7 @@ if __name__ == '__main__' :
|
||||||
if sys.argv[1] == 'all' :
|
if sys.argv[1] == 'all' :
|
||||||
switchs = ( 'batg-6', 'batg-5', 'batg-4', 'batg-2', 'batg-1', 'batg' ,
|
switchs = ( 'batg-6', 'batg-5', 'batg-4', 'batg-2', 'batg-1', 'batg' ,
|
||||||
'batj-2', 'batj-1', 'batj' ,
|
'batj-2', 'batj-1', 'batj' ,
|
||||||
'bati-1', 'bati' ,
|
'bati-2', 'bati-1', 'bati' ,
|
||||||
'bath-1', 'bath' ,
|
'bath-1', 'bath' ,
|
||||||
'batc-2', 'batc-1', 'batc' ,
|
'batc-2', 'batc-1', 'batc' ,
|
||||||
'batb-3', 'batb-2', 'batb-1', 'batb' )
|
'batb-3', 'batb-2', 'batb-1', 'batb' )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue