Christopher Dobbs
2004-Dec-20 15:42 UTC
[Asterisk-Users] Asterisk Startup Scripts (My Bad)
Sorry to all. I sent the wrong shell scripts. Here are the correct ones. Again, sorry to all! -- Christopher Dobbs Shahed wrote:> Hi Christopher, > > The files you posted for inittab have a reference > to astmain. > > I cant find this file anywhere (including WiKi / google etc). > Is this a custom script that you have written ? > > Regards > Shahed-------------- next part -------------- #! /bin/bash chvt 24 asterisk -vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvc &> /dev/tty24 < /dev/tty24 sleep 5 -------------- next part -------------- #! /bin/bash asterisk -r -------------- next part -------------- ast:12345:respawn:/sbin/astmain -------------- next part -------------- pbx:x:0:0::/root:/sbin/astrun -------------- next part -------------- #! /bin/bash exec ssh pbx@pbx -------------- next part -------------- #! /bin/bash exec ssh root@pbx