From: Roy Marples Date: Thu, 18 Nov 2010 19:09:02 +0000 (+0000) Subject: Fix ypbind and remove un-needed quoting. X-Git-Tag: v5.2.9~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=699fee469198e7ca7f7238bb700d88c2c67d7670;p=thirdparty%2Fdhcpcd.git Fix ypbind and remove un-needed quoting. --- diff --git a/dhcpcd-hooks/50-ntp.conf b/dhcpcd-hooks/50-ntp.conf index 1c6ea806..a617eda6 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 || service_condcommand ntp 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. diff --git a/dhcpcd-hooks/50-ypbind b/dhcpcd-hooks/50-ypbind index ffa64c41..9a1feccd 100644 --- a/dhcpcd-hooks/50-ypbind +++ b/dhcpcd-hooks/50-ypbind @@ -1,8 +1,8 @@ # Sample dhcpcd hook for ypbind # This script is only suitable for the Linux version. -: ${ypbind_restart_cmd:="service_command ypbind restart"} -: ${ypbind_stop_cmd:="service_condcommand ypbind stop"} +: ${ypbind_restart_cmd:=service_command ypbind restart} +: ${ypbind_stop_cmd:=service_condcommand ypbind stop} ypbind_dir="$state_dir/ypbind" best_domain()