Asterisk patch for archlinux

Well that is not my 1st asterisk / zaptel patch I do, but it is the 1st to commit into digium bug tracking system and I hope they will approve it. Mainly the patches are small and very easy, this one will add the support for Archlinux init script for start /stop / restart asterisk, since Archlinux uses /etc/rc.d "FreeBSD" style, it was a little bit odd. anyway here is the patch for anyone uses asterisk under Archlinux which i don't think anybody but me do.

AttachmentSize
archlinux_rc_makefile.patch2.24 KB

asterisk on archlinux

Hi! I am working my way to running asterisk on arch. To make it more interesting I am installing it on fitpc (http://www.fit-pc.com/new/fit-pc-1-0-specifications.html) to make my telephone system as green as possible. As I am still quite new to linux... how to apply this pach in arch?
Regards,
Jernej

patch

use command patch get the asterisk source code then cd into it and do patch -p0 < arch_asterisk_patch_file.patch and you are done and your asterisk is patched for archlinux, may be the patch command will ask for the Makefile path.

patch

It worked! I installed the patch and recompiled asteterisk. Now I can put asterisk to rc.conf :) Thank you!
Jernej

welcome

glad it did help.