]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
NetBSD sh needs eval here.
authorRoy Marples <roy@marples.name>
Fri, 14 Nov 2008 19:18:57 +0000 (19:18 +0000)
committerRoy Marples <roy@marples.name>
Fri, 14 Nov 2008 19:18:57 +0000 (19:18 +0000)
dhcpcd-hooks/50-ntp.conf

index 3e02bc5364a1f2cd41af15039987ee12ae9aefd4..8c92f2799b30a71f1c6bd2d71f32f9721d5aea91 100644 (file)
@@ -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
 }