Avec une commande qui fonctionne, cela marchera mieux
darcs-hash:20050101100842-d1718-e51c84fb51161817a83f90df54e700f963b49f5c.gz
This commit is contained in:
parent
3e2f47523b
commit
2e32037a0e
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,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 $(cat /var/run/dhcpd.pid) ; sleep 1 ; dhcpd em0'
|
restart_cmd = 'kill $(ps auxwwc | awk \'($11 == "dhcpd") {print $2}\') ; sleep 1 ; dhcpd em0'
|
||||||
else:
|
else:
|
||||||
restart_cmd = 'true'
|
restart_cmd = 'true'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue