On reconfigure les bornes galement si on change nvram ou hotspot
darcs-hash:20060605193157-d1718-4dd48236112ad95d60eefdbf03e82b980f18df58.gz
This commit is contained in:
parent
2a6e79c61a
commit
2bcb0b4a38
1 changed files with 2 additions and 1 deletions
|
@ -2643,6 +2643,7 @@ class Machine(BaseClasseCrans):
|
||||||
ret += coul(u'Clef IPsec de la machine : %s\n' % self.ipsec(), 'cyan')
|
ret += coul(u'Clef IPsec de la machine : %s\n' % self.ipsec(), 'cyan')
|
||||||
self.services_to_restart('conf_wifi_ng')
|
self.services_to_restart('conf_wifi_ng')
|
||||||
|
|
||||||
|
|
||||||
# Reconfiguration firewalls et dhcps
|
# Reconfiguration firewalls et dhcps
|
||||||
if reconf_ip:
|
if reconf_ip:
|
||||||
self.services_to_restart('macip', reconf_ip)
|
self.services_to_restart('macip', reconf_ip)
|
||||||
|
@ -2666,7 +2667,7 @@ class Machine(BaseClasseCrans):
|
||||||
|
|
||||||
# Reconfiguration clients wifi ?
|
# Reconfiguration clients wifi ?
|
||||||
if isinstance(self, MachineWifi) or isinstance(self, BorneWifi) \
|
if isinstance(self, MachineWifi) or isinstance(self, BorneWifi) \
|
||||||
and ('ipHostNumber' in self.modifs or 'host' in self.modifs or 'macAddress' in self.modifs):
|
and ('ipHostNumber' in self.modifs or 'host' in self.modifs or 'macAddress' in self.modifs or 'nvram' in self.modifs or 'hotspot' in self.modifs):
|
||||||
self.services_to_restart('conf_wifi_ng')
|
self.services_to_restart('conf_wifi_ng')
|
||||||
|
|
||||||
# Regénération blackliste nécessaire ?
|
# Regénération blackliste nécessaire ?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue