From: Roy Marples Date: Fri, 19 Nov 2010 10:17:14 +0000 (+0000) Subject: No need to restart twice. X-Git-Tag: v5.2.9^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=712e1d1bed14dde2db6f7a715e63d2ce19f44d48;p=thirdparty%2Fdhcpcd.git No need to restart twice. --- diff --git a/dhcpcd-hooks/50-ntp.conf b/dhcpcd-hooks/50-ntp.conf index a617eda6..765baa79 100644 --- a/dhcpcd-hooks/50-ntp.conf +++ b/dhcpcd-hooks/50-ntp.conf @@ -8,7 +8,7 @@ # NTP_CONF=/usr/pkg/etc/ntpd.conf # to use openntpd from pkgsrc instead of the system provided ntp. -: ${ntpd_restart_cmd:=service_condcommand ntpd restart || service_condcommand ntp restart} +: ${ntpd_restart_cmd:=service_condcommand ntpd restart} if type invoke-rc.d >/dev/null 2>&1; then # Debian has a seperate file for DHCP config to avoid stamping on # the master.