Par exemple, pour le wifi
darcs-hash:20041212121748-d1718-e4c6cc32b2f31c15ec36049152c49ec51f937a80.gz
This commit is contained in:
parent
bab694df52
commit
306ebf24cb
1 changed files with 12 additions and 0 deletions
|
@ -95,6 +95,12 @@ Netmask= 0.0.0.0
|
||||||
def __init__(self) :
|
def __init__(self) :
|
||||||
self.db = crans_ldap()
|
self.db = crans_ldap()
|
||||||
|
|
||||||
|
def lockname(self):
|
||||||
|
# On change le nom du lock pour avoir un nom unique pour tout ce qui
|
||||||
|
# concerne le wifi
|
||||||
|
# return ".".join(str(self.__class__).split(".")[0:-1])
|
||||||
|
return "gen_confs.wifi"
|
||||||
|
|
||||||
def __str__(self) :
|
def __str__(self) :
|
||||||
return 'wifi'
|
return 'wifi'
|
||||||
|
|
||||||
|
@ -449,6 +455,12 @@ cat /tmp/autoexec.log | busybox logger -p local3.info -t "Statut"
|
||||||
def __str__(self) :
|
def __str__(self) :
|
||||||
return 'bornes wifi'
|
return 'bornes wifi'
|
||||||
|
|
||||||
|
def lockname(self):
|
||||||
|
# On change le nom du lock pour avoir un nom unique pour tout ce qui
|
||||||
|
# concerne le wifi
|
||||||
|
# return ".".join(str(self.__class__).split(".")[0:-1])
|
||||||
|
return "gen_confs.wifi"
|
||||||
|
|
||||||
def __init__(self,bornes=[]) :
|
def __init__(self,bornes=[]) :
|
||||||
self.db = crans_ldap()
|
self.db = crans_ldap()
|
||||||
self.bornes = bornes
|
self.bornes = bornes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue