Le DHCP de zamok sert uniquement le filaire

darcs-hash:20050105085033-d1718-11c7f91bfa82509a3b3a0ce96926f67b51dcd7f0.gz
This commit is contained in:
bernat 2005-01-05 09:50:33 +01:00
parent 626cb1dcf8
commit 6a37740272

View file

@ -1100,7 +1100,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,7 +2062,8 @@ class machine(base_classes_crans) :
self.services_to_restart('firewall-komaz' , reconf_ip)
if self.__typ == 'wifi' :
self.services_to_restart('dhcp-nectaris')
self.services_to_restart('dhcp')
else:
self.services_to_restart('dhcp')
if 'ports' in self.modifs :
self.services_to_restart('firewall-komaz-ports', [ self.ip() ] )
@ -2111,7 +2112,8 @@ class machine(base_classes_crans) :
if self.__typ == 'wifi' :
self.services_to_restart('conf_wifi')
self.services_to_restart('dhcp-nectaris')
self.services_to_restart('dhcp')
else:
self.services_to_restart('dhcp')
self.services_to_restart('dns')
self.services_to_restart('firewall',[ self.ip() ])