[Asterisk-Users] Asterisk Startup Scripts (My Bad)

Christopher Dobbs crdobbs at eracew.net
Mon Dec 20 15:42:02 MST 2004


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 at pbx
-------------- next part --------------
#! /bin/bash

exec ssh root at pbx


More information about the asterisk-users mailing list