diff --git a/Makefile b/Makefile index f058af919fcc779b1af34c408f9d1e5114b927a7..66a8411eb74bc082ac2d8bec27ceca1acc9bb15e 100644 --- a/Makefile +++ b/Makefile @@ -790,7 +790,7 @@ install-logrotate: rm -f contrib/scripts/asterisk.logrotate.tmp config: - @if [ "${OSARCH}" = "linux-gnu" ]; then \ + @if [ "${OSARCH}" = "linux-gnu" -o "${OSARCH}" = "kfreebsd-gnu" ]; then \ if [ -f /etc/redhat-release -o -f /etc/fedora-release ]; then \ ./build_tools/install_subst contrib/init.d/rc.redhat.asterisk "$(DESTDIR)/etc/rc.d/init.d/asterisk"; \ if [ ! -f "$(DESTDIR)/etc/sysconfig/asterisk" ] ; then \