Commit e2a4cfe7 authored by Valentin Samir's avatar Valentin Samir
Browse files

[gen_conf] Code mort

parent 3436a1a2
......@@ -3207,7 +3207,6 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3)
# Clef IPsec
if 'ipsec' in self.modifs:
ret += coul(u'Clef WiFi de la machine : %s\n' % self.ipsec(), 'cyan')
self.services_to_restart('conf_wifi_ng')
# Reconfiguration firewalls et dhcps
if reconf_ip:
......@@ -3223,15 +3222,6 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3)
if 'host' in self.modifs or 'ipHostNumber' in self.modifs or 'hostAlias' in self.modifs or 'dnsIpv6' in self.modifs or 'sshFingerprint' in self.modifs:
self.services_to_restart('dns')
# Reconfiguration bornes wifi ?
if 'canal' in self.modifs or 'puissance' in self.modifs or 'nvram' in self.modifs or 'hotspot' in self.modifs:
self.services_to_restart('conf_wifi_ng')
# Reconfiguration clients wifi ?
if isinstance(self, MachineWifi) or isinstance(self, BorneWifi) \
and ('ipHostNumber' in self.modifs or 'host' in self.modifs or 'macAddress' in self.modifs):
self.services_to_restart('conf_wifi_ng')
# Regénération blackliste nécessaire ?
bl = self.blacklist_actif()
if bl and ('ipHostNumber' in self.modifs or 'host' in self.modifs):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment