Preparation a la mise en place du DHCP pour le wifi sur nectaris
darcs-hash:20041212223852-d1718-c8f53b90ebf417763fe44d124c4764411de4aab9.gz
This commit is contained in:
parent
1c72577851
commit
fe7ff63c4c
1 changed files with 8 additions and 2 deletions
|
@ -76,8 +76,14 @@ subnet %(network)s netmask %(netmask)s {
|
|||
# Si =1 ralera (chaine warnings) si machines hors zone trouvée
|
||||
# Si =0 ralera seulement si réseau vide
|
||||
verbose = 1
|
||||
|
||||
restart_cmd = '/etc/init.d/dhcp restart'
|
||||
|
||||
if hostname == 'zamok':
|
||||
restart_cmd = '/etc/init.d/dhcp restart'
|
||||
elif hostname == 'nectaris':
|
||||
# restart_cmd = 'kill $(cat /var/run/dhcpd.pid) ; sleep 1 ; dhcpd $(stripcom /etc/dhcpd.interfaces)'
|
||||
restart_cmd = 'true'
|
||||
else:
|
||||
restart_cmd = 'true'
|
||||
|
||||
######################################FIN PARTIE DE CONFIGURATION
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue