[Asterisk-Users] zaprtc
Steven Kokinos
steve at kokinos.com
Tue Apr 20 20:53:28 MST 2004
Fran,
Thanks for the message. In between my original message and your response I
actually did something a bit different. From within /etc/init.d/asterisk
(which I call from chkconfig) I added the following lines:
start)
echo -n "Starting Asterisk PBX: "
#/sbin/modprobe ixj
/sbin/modprobe zaptel
/sbin/insmod zaprtc
/sbin/rtcsetup &
daemon /usr/sbin/safe_asterisk
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/asterisk
;;
stop)
echo -n "Shutting Asterisk PBX: "
killproc safe_asterisk
killproc asterisk
killproc rtcsetup
#/sbin/rmmod -r ixj
/sbin/rmmod -r zaptel
/sbin/rmmod -r zaprtc
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/asterisk
;;
This works for me as well, and has the added bonus (at least in my case) of
keeping the asterisk related items more self-contained.
-Steve
> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com
> [mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Fran Boon
> Sent: Tuesday, April 20, 2004 6:58 PM
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] zaprtc
>
> On Tue, 2004-04-20 at 17:23, Steven Kokinos wrote:
> > does anyone out there using zaprtc know how to go about
> initializing
> > it at boot time? i have it compiled and working properly,
> but there is
> > very limited documentation.
>
> Yup, works great for me :)
>
> Add this to rc.local to get it initialised at boot:
> insmod /lib/modules/2.4.21-9.ELcustom/misc/zaprtc.o
> /usr/local/bin/rtcsetup &
>
> (Obviously modify the kernel path if required - this is for RHES3)
>
> F
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
More information about the asterisk-users
mailing list