From 7d94c35fe5388edcaf2069dbb4390ef2f56b24c5 Mon Sep 17 00:00:00 2001 From: PhilippeLeroux Date: Thu, 2 Aug 2018 10:17:13 +0200 Subject: [PATCH] Fix : erreur de syntaxe sur le nom du service --- dns/workaround_dhcp_leases.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dns/workaround_dhcp_leases.sh b/dns/workaround_dhcp_leases.sh index b207d5a..1a1c306 100755 --- a/dns/workaround_dhcp_leases.sh +++ b/dns/workaround_dhcp_leases.sh @@ -65,7 +65,7 @@ fi info "stop dhcpd and named." exec_cmd systemctl stop dhcpd -exec_cmd systemctl stop name +exec_cmd systemctl stop named LN info "rm leases_file" @@ -77,6 +77,6 @@ exec_cmd "touch $leases_file" LN info "start named and dhcpd." -exec_cmd systemctl start name +exec_cmd systemctl start named exec_cmd systemctl start dhcpd LN