<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1226" name=GENERATOR>
<STYLE>@page Section1 {size: 595.3pt 841.9pt; margin: 70.85pt 3.0cm 70.85pt 3.0cm; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EstiloCorreo17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=ES vLink=purple link=blue bgColor=#ffffff>
<DIV><FONT size=2>Hi Humberto,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> Here is what you have requested for.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>#!/bin/bash<BR>#<BR># Startup script for SER<BR>#<BR>#
chkconfig: 345 85 15<BR># description: Ser is a fast SIP Proxy.<BR>#<BR>#
processname: ser<BR># pidfile: /var/run/ser.pid<BR># config:
/etc/ser/ser.cfg</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># Source function library.<BR>.
/etc/rc.d/init.d/functions</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>ser=/usr/local/sbin/ser<BR>prog=ser<BR>RETVAL=0</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>start() {<BR> echo
-n $"Starting $prog: "<BR> daemon $ser
start $OPTIONS<BR>
RETVAL=$?<BR>
echo<BR> [ $RETVAL = 0 ] &&
touch /var/lock/subsys/ser<BR> return
$RETVAL<BR>}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>stop() {<BR> echo -n $"Stopping $prog:
"<BR> killproc $ser<BR> RETVAL=$?<BR> echo<BR> [ $RETVAL = 0
] && rm -f /var/lock/subsys/ser /var/run/ser.pid<BR>}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>reload() {<BR> echo -n $"Reloading $prog:
"<BR> killproc $ser restart
-HUP<BR> RETVAL=$?<BR> echo<BR>}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># See how we were called.<BR>case "$1" in<BR>
start)<BR> start<BR> ;;<BR>
stop)<BR> stop<BR> ;;<BR>
status)<BR> status
$ser<BR> RETVAL=$?<BR> ;;<BR>
restart)<BR> stop<BR> start<BR> ;;<BR>
condrestart)<BR> if [ -f /var/run/ser.pid ] ; then<BR> stop<BR>
start<BR> fi<BR> ;;<BR> *)<BR> echo $"Usage: $prog
{start|stop|restart|condrestart|status|help}"<BR> exit
1<BR>esac</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>exit $RETVAL</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Kannaiyan</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2><A
href="http://www.speak2world.com">http://www.speak2world.com</A></FONT></DIV>
<DIV><FONT size=2><A
href="http://www.goods2world.com">http://www.goods2world.com</A> </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=hatristain@megahospedaje.com
href="mailto:hatristain@megahospedaje.com">Humberto Atristain</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=serusers@lists.iptel.org
href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, May 07, 2004 6:12 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Serusers] CREATE init.d
script</DIV>
<DIV><BR></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Pals<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Please help me create a
</SPAN></FONT><SPAN lang=EN-US>init.d script I installed SER from sources
<o:p></o:p></SPAN></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US
style="FONT-SIZE: 12pt">Or please say me how to restart SER without init.d
script<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US
style="FONT-SIZE: 12pt">Regards<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-US
style="FONT-SIZE: 12pt">HA</SPAN></FONT><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Serusers mailing
list<BR><A href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A><BR><A
href="http://lists.iptel.org/mailman/listinfo/serusers">http://mail.iptel.org/mailman/listinfo/serusers</A><BR></BLOCKQUOTE></BODY></HTML>