If you install asterisk from the source tarball, for instance, the source is extraxted to /usr/src/asterisk. If you type in ls command, it would say:- ~# ls /usr/src/asterisk/contrib/init.d/
- CVS/
- rc.gentoo.asterisk*
- rc.mandrake.zaptel
- rc.slackware.asterisk
- rc.debian.asterisk
- rc.mandrake.asterisk
- rc.redhat.asterisk*
複製代碼 Select your system script file, copy to the /etc/init.d directory, chmod to 755. And add you it to rc.d and update. |