Erreur pour les interfaces du DHCP

darcs-hash:20051230231217-d1718-b43727aa96d23a48c60eb6765944adb82b48c200.gz
This commit is contained in:
bernat 2005-12-31 00:12:17 +01:00
parent 69903391f5
commit 4f04fab195

View file

@ -111,7 +111,7 @@ subnet %(network)s netmask %(netmask)s {
if hostname == 'zamok': if hostname == 'zamok':
restart_cmd = '/etc/init.d/dhcp restart' restart_cmd = '/etc/init.d/dhcp restart'
elif hostname == 'nectaris': elif hostname == 'nectaris':
restart_cmd = 'kill $(ps auxwwc | awk \'($11 == "dhcpd") {print $2}\') ; sleep 1 ; dhcpd $(grep -v \'^#\' /etc/dhcpd.interfaces | tr -d \'\\n\')' restart_cmd = 'kill $(ps auxwwc | awk \'($11 == "dhcpd") {print $2}\') ; sleep 1 ; dhcpd $(grep -v \'^#\' /etc/dhcpd.interfaces | tr \'\\n\' \' \')'
elif hostname == 'rouge' : elif hostname == 'rouge' :
restart_cmd = '/etc/init.d/dhcp3-server restart' restart_cmd = '/etc/init.d/dhcp3-server restart'
else: else: