Suppression de l'interface explicite pour le DHCP d'OpenBSD

darcs-hash:20051103103850-d1718-c60549d5973624bf6a80c82083b83e4b8baa8b7b.gz
This commit is contained in:
bernat 2005-11-03 11:38:50 +01:00
parent a1fb0e4bb1
commit 9b1d70de93

View file

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