changeset 1070:87307f137a82 draft

NetBSD sh needs eval here.
author Roy Marples <roy@marples.name>
date Fri, 14 Nov 2008 19:18:57 +0000
parents 9b2764ab07ad
children 9646b4a23a8a
files dhcpcd-hooks/50-ntp.conf
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dhcpcd-hooks/50-ntp.conf	Tue Nov 11 09:29:54 2008 +0000
+++ b/dhcpcd-hooks/50-ntp.conf	Fri Nov 14 19:18:57 2008 +0000
@@ -57,7 +57,7 @@
 
 	# If we changed anything, restart ntpd
 	if change_file "${ntp_conf}" "${cf}"; then
-		[ -n "${ntpd_restart_cmd}" ] && ${ntpd_restart_cmd}
+		[ -n "${ntpd_restart_cmd}" ] && eval ${ntpd_restart_cmd}
 	fi
 }