Dear all Here is the solution. - Copy the attached startup script to the directory /etc/rc.d/init.d
- Rename kannel.dat to kannel
- Check the path to the application and configuration files.
On my PC the start-stop-daemon was not compiled so I compiled with
- gcc -I <kannel-dir> <kannel-dir>/utils/start-stop-daemon.c
- move the a.out to /usr/local/sbin and rename to start-stop-daemon
- check the id in the file /etc/initab (used for the softlinks)
- make some softlinks to the kannel script
ln -s /etc/rc.d/init.d/kannel /etc/rc<id>.d/S99kannel
ln -s /etc/rc.d/init.d/kannel /etc/rc<id>.d/K99kannel
This is all.
The wapgateway short work after reboot automatically.
Thanks everybody for help.
Kind Regards
Joerg
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of Stephane Pointu
> Sent: Tuesday, October 15, 2002 11:53 AM
> To: 'Joerg Eggink'; [EMAIL PROTECTED]
> Subject: RE: Startup scipts for RedHat 7.3
>
>
> Here is one!
>
> You need to change START, CONF, bearerbox, wapbox and smsbox
> to match your configuration.
>
> Stephane.
>
> > -----Original Message-----
> > From: Joerg Eggink [mailto:[EMAIL PROTECTED]]
> > Sent: 15 October 2002 11:47
> > To: [EMAIL PROTECTED]
> > Subject: Startup scipts for RedHat 7.3
> >
> >
> > Dear all
> >
> > Are there some scripts available to start kannel wapbox or
> > smsbox after
> > reboot automatically ? I use RedHat 7.3
> >
> > If not can someone give me some ideas how to do this ?
> >
> > Thanks in advance
> >
> > Joerg
> >
> >
>
>
kannel.dat
Description: Binary data
