mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
Add init script for ArchLinux
(closes issue #13667) Reported by: sherif Patches: archlinux_rc_makefile.patch uploaded by sherif (license 591) archlinux_rc_makefile-2.patch uploaded by mvanbaak (license 7) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@157460 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
3
Makefile
3
Makefile
@@ -811,6 +811,9 @@ config:
|
||||
elif [ -f /etc/SuSE-release -o -f /etc/novell-release ]; then \
|
||||
$(INSTALL) -m 755 contrib/init.d/rc.suse.asterisk $(DESTDIR)/etc/init.d/asterisk; \
|
||||
if [ -z "$(DESTDIR)" ]; then /sbin/chkconfig --add asterisk; fi; \
|
||||
elif [ -f /etc/arch-release -o -f /etc/arch-release ]; then \
|
||||
$(INSTALL) -m 755 contrib/init.d/rc.archlinux.asterisk $(DESTDIR)/etc/rc.d/asterisk; \
|
||||
echo "Archlinux is not currently supported, although an init script does exits for it. please add asterisk to your DAEMONS line in /etc/rc.conf to start it when computer boots."; \
|
||||
elif [ -f /etc/slackware-version ]; then \
|
||||
echo "Slackware is not currently supported, although an init script does exist for it." \
|
||||
else \
|
||||
|
Reference in New Issue
Block a user