From: Roy Marples Date: Fri, 14 Nov 2008 19:18:57 +0000 (+0000) Subject: NetBSD sh needs eval here. X-Git-Tag: v5.0.0~185 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ad77cd73759b823ca56cfaac5e34b60394aa4f6;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 }