From: Roy Marples Date: Fri, 14 Nov 2008 19:18:57 +0000 (+0000) Subject: NetBSD sh needs eval here. X-Git-Tag: v4.0.5~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ac6fc78629c3c5a42d41d9fe1eefec36ce4bcb3;p=thirdparty%2Fdhcpcd.git NetBSD sh needs eval here. --- diff --git a/dhcpcd-hooks/50-ntp.conf b/dhcpcd-hooks/50-ntp.conf index 3e02bc53..8c92f279 100644 --- a/dhcpcd-hooks/50-ntp.conf +++ b/dhcpcd-hooks/50-ntp.conf @@ -57,7 +57,7 @@ build_ntp_conf() # 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 }