Le DHCP de Nectaris n'est pas encore fonctionnel pour le wifi

darcs-hash:20041220110753-d1718-26390298b650e206fe6f88c9b890a402798fc461.gz
This commit is contained in:
bernat 2004-12-20 12:07:53 +01:00
parent 329c225313
commit 1f69217a4b
2 changed files with 4 additions and 6 deletions

View file

@ -321,7 +321,7 @@ Subject: Modifications sur une machine du CR@NS
from gen_confs.bind import dns
inst.append([dns(),"dns"])
if 'dhcp' in to_do.keys() or 'dhcp-nectaris' in to_do.keys() :
if 'dhcp' in to_do.keys() :
from gen_confs.dhcpd import dhcp
inst.append([dhcp(),"dhcp"])

View file

@ -1103,7 +1103,7 @@ class base_proprietaire(base_classes_crans) :
self.services_to_restart('dhcp-nectaris')
else :
self.services_to_restart('switch',[self.chbre()])
self.services_to_restart('dhcp')
self.services_to_restart('dhcp')
# Vérification si changement de bât, ce qui obligerai un changement d'IP
if 'chbre' in self.modifs and self.chbre()!='????' :
@ -2062,8 +2062,7 @@ class machine(base_classes_crans) :
self.services_to_restart('firewall-komaz' , reconf_ip)
if self.__typ == 'wifi' :
self.services_to_restart('dhcp-nectaris')
else :
self.services_to_restart('dhcp')
self.services_to_restart('dhcp')
if 'ports' in self.modifs :
self.services_to_restart('firewall-komaz-ports', [ self.ip() ] )
@ -2112,8 +2111,7 @@ class machine(base_classes_crans) :
if self.__typ == 'wifi' :
self.services_to_restart('conf_wifi')
self.services_to_restart('dhcp-nectaris')
else :
self.services_to_restart('dhcp')
self.services_to_restart('dhcp')
self.services_to_restart('dns')
self.services_to_restart('firewall',[ self.ip() ])