From 4f04fab195a4e481bac4ce5e8e600ad438d93e12 Mon Sep 17 00:00:00 2001 From: bernat Date: Sat, 31 Dec 2005 00:12:17 +0100 Subject: [PATCH] Erreur pour les interfaces du DHCP darcs-hash:20051230231217-d1718-b43727aa96d23a48c60eb6765944adb82b48c200.gz --- gestion/gen_confs/dhcpd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/gen_confs/dhcpd.py b/gestion/gen_confs/dhcpd.py index af5c47b3..6f678a52 100755 --- a/gestion/gen_confs/dhcpd.py +++ b/gestion/gen_confs/dhcpd.py @@ -111,7 +111,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 $(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' : restart_cmd = '/etc/init.d/dhcp3-server restart' else: