Created attachment 190573 [details] patch rc script so that it handles service -R case correctly After installing & configuring isc-dhcp43-server it works otherwise ok, but when restarting services with service -R following errors are spitted out: eval: ${/...}: Bad substitution eval: ${/...}: Bad substitution Attached patch fixes the issue, it is caused by rc script not handling this kind of invocation correctly when it tries to guess the rc script name.
A commit references this bug: Author: zi Date: Tue Feb 13 15:39:45 UTC 2018 New revision: 461710 URL: https://svnweb.freebsd.org/changeset/ports/461710 Log: - Fix rc script when using service -R PR: 225861 Submitted by: Ari Suutari Changes: head/net/isc-dhcp43-server/Makefile head/net/isc-dhcp43-server/files/isc-dhcpd.in