Skip to content
Snippets Groups Projects
Commit 4219c407 authored by Tzafrir Cohen's avatar Tzafrir Cohen
Browse files

install init.d files on GNU/kFreeBSD

Review: https://reviewboard.asterisk.org/r/4118/
........

Merged revisions 426926 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 426927 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 426933 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 426934 from http://svn.asterisk.org/svn/asterisk/branches/13


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@426935 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 28173ddf
No related branches found
No related tags found
No related merge requests found
...@@ -790,7 +790,7 @@ install-logrotate: ...@@ -790,7 +790,7 @@ install-logrotate:
rm -f contrib/scripts/asterisk.logrotate.tmp rm -f contrib/scripts/asterisk.logrotate.tmp
config: 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 \ 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"; \ ./build_tools/install_subst contrib/init.d/rc.redhat.asterisk "$(DESTDIR)/etc/rc.d/init.d/asterisk"; \
if [ ! -f "$(DESTDIR)/etc/sysconfig/asterisk" ] ; then \ if [ ! -f "$(DESTDIR)/etc/sysconfig/asterisk" ] ; then \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment