<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=281085216-22122003><FONT face=Arial color=#0000ff size=2>Thanks 
Nathan,</FONT></SPAN></DIV>
<DIV><SPAN class=281085216-22122003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=281085216-22122003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=281085216-22122003><FONT face=Arial color=#0000ff size=2>I got 
those scripts from someone from Ravensoft forums a year or so ago.&nbsp; I was 
just passing them on.&nbsp; Thank YOU Nathan for contributing to the 
community.&nbsp;&nbsp; I am MrGroove on the battlefiled.&nbsp;&nbsp;&nbsp; See 
you on it!&nbsp;&nbsp;&nbsp;&nbsp; = )&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=281085216-22122003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=281085216-22122003><FONT face=Arial color=#0000ff 
size=2>Peace,</FONT></SPAN></DIV>
<DIV><SPAN class=281085216-22122003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=281085216-22122003><FONT face=Arial color=#0000ff 
size=2>./Starkness</FONT></SPAN></DIV>
<DIV><SPAN class=281085216-22122003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Nathan Peters 
  [mailto:natedog550@hotmail.com]<BR><B>Sent:</B> Monday, December 22, 2003 
  11:42 AM<BR><B>To:</B> cod@icculus.org<BR><B>Subject:</B> Re: [cod] Linux 
  Startup scripts?<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>Ok.&nbsp; My scripts are updated again.&nbsp; 
  Here it is:</FONT></DIV>
  <DIV>
  <DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><A 
  href="http://www.bashyou.com/snipesserverscripts/MOHAAserverscripts.zip">http://www.bashyou.com/snipesserverscripts/MOHAAserverscripts.zip</A></FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Screen shots using it in webmin in scheduled cron 
  commands:</FONT></DIV>
  <DIV><FONT face=Arial size=2><A 
  href="http://www.bashyou.com/snipesserverscripts/cronjob1.jpg">http://www.bashyou.com/snipesserverscripts/cronjob1.jpg</A></FONT></DIV>
  <DIV><FONT face=Arial size=2><A 
  href="http://www.bashyou.com/snipesserverscripts/cronjob2.jpg">http://www.bashyou.com/snipesserverscripts/cronjob2.jpg</A></FONT></DIV>
  <DIV><FONT face=Arial size=2><A 
  href="http://www.bashyou.com/snipesserverscripts/cronjob3.jpg">http://www.bashyou.com/snipesserverscripts/cronjob3.jpg</A>&nbsp;- 
  runs every 5 min. on the screenshot but I've changed it to run every min. 
  now</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>These scripts work great now.&nbsp; Thanks to 
  Starkness, for the code that checks to see if the server process is 
  running.&nbsp; Thanks again Starkness.&nbsp; These scripts work fine on Red 
  Hat 9 - that's the only system I've tested on.&nbsp; Neways, hope you peeps 
  can use em'.&nbsp; TTYL.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Nathan - A.K.A. [BASHYOU] 
  SNiPeS</FONT></DIV></DIV></DIV>
  <BLOCKQUOTE dir=ltr 
  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=starkness@wwwclan.com href="mailto:starkness@wwwclan.com">www clan 
    - Starkness</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A title=natedog550@hotmail.com 
    href="mailto:natedog550@hotmail.com">NateDog</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, December 15, 2003 1:55 
    PM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [cod] Linux Startup 
    scripts?</DIV>
    <DIV><BR></DIV>
    <DIV><SPAN class=437075419-15122003><FONT face=Arial color=#0000ff 
    size=2>Got it.&nbsp; Thanks bro.</FONT></SPAN></DIV>
    <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
      <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
      size=2>-----Original Message-----<BR><B>From:</B> NateDog 
      [mailto:natedog550@hotmail.com]<BR><B>Sent:</B> Monday, December 15, 2003 
      2:44 PM<BR><B>To:</B> <A 
      href="mailto:starkness@wwwclan.com">starkness@wwwclan.com</A><BR><B>Subject:</B> 
      Re: [cod] Linux Startup scripts?<BR><BR></FONT></DIV>
      <DIV><FONT face=Arial size=2>Ok I'll keep you posted.</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
      <DIV>
      <DIV><FONT face=Arial size=2>Ok.&nbsp; Here's my script: <A 
      href="http://www.bashyou.com/snipesserverscripts/MOHAAserverscripts.zip">http://www.bashyou.com/snipesserverscripts/MOHAAserverscripts.zip</A></FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
      <DIV><FONT face=Arial size=2>Screen shots using it in webmin in scheduled 
      cron commands:</FONT></DIV>
      <DIV><FONT face=Arial size=2><A 
      href="http://www.bashyou.com/snipesserverscripts/cronjob1.jpg">http://www.bashyou.com/snipesserverscripts/cronjob1.jpg</A></FONT></DIV>
      <DIV><FONT face=Arial size=2><A 
      href="http://www.bashyou.com/snipesserverscripts/cronjob2.jpg">http://www.bashyou.com/snipesserverscripts/cronjob2.jpg</A></FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
      <DIV><FONT face=Arial size=2>Please edit the script to suit your 
      needs.&nbsp; Note: This is for MOHAA.&nbsp; Make changes 
      accordingly.&nbsp; Should't be a problem for CoD, just change directories 
      and anything that is specific to CoD.&nbsp; Also, where the script says 
      "Sleep".&nbsp; That is a holder for now.&nbsp; And it doesn't mess 
      anything up it just won't tell you if it didn't start - check running 
      processes for now.&nbsp; Tonight I'll use Starkness' idea about searching 
      for the running server and update my script (I'll give you credit in my 
      script Starkness).&nbsp; Just play with it and see if this script works 
      for you.&nbsp; Works great for me, haven't had a problem.&nbsp; Also, put 
      the log file in the same directory as the script.</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
      <DIV><FONT face=Arial size=2>Nathan - A.K.A. [BASHYOU] 
      SNiPeS</FONT></DIV></DIV>
      <BLOCKQUOTE dir=ltr 
      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=starkness@wwwclan.com href="mailto:starkness@wwwclan.com">www 
        clan - Starkness</A> </DIV>
        <DIV style="FONT: 10pt arial"><B>To:</B> <A title=natedog550@hotmail.com 
        href="mailto:natedog550@hotmail.com">natedog550@hotmail.com</A> </DIV>
        <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, December 15, 2003 
        1:35 PM</DIV>
        <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [cod] Linux Startup 
        scripts?</DIV>
        <DIV><BR></DIV>
        <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
        class=015393319-15122003>np bro&nbsp; =)&nbsp; let me know if it works 
        for you.&nbsp; It works on one server I have, but not the other.&nbsp; 
        one a rh 7.2&nbsp; one a rh 8 (working)</SPAN></FONT></DIV>
        <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
        class=015393319-15122003></SPAN></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
        class=015393319-15122003>Peace!</SPAN></FONT></DIV>
        <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
          <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
          size=2>-----Original Message-----<BR><B>From:</B> Nathan Peters 
          [mailto:natedog550@hotmail.com]<BR><B>Sent:</B> Monday, December 15, 
          2003 1:37 PM<BR><B>To:</B> <A 
          href="mailto:cod@icculus.org">cod@icculus.org</A><BR><B>Subject:</B> 
          Re: [cod] Linux Startup scripts?<BR><BR></FONT></DIV>
          <DIV><FONT face=Arial size=2>Sweet dude!&nbsp; That's what I was gonna 
          try and figure out.&nbsp; How to search and see if the server is 
          running!&nbsp; Thanx man!&nbsp; You rock!&nbsp; Your start script has 
          some similarity with mine.&nbsp; I'll post&nbsp;mine like I said when 
          I go to lunch.&nbsp; That's what happens with stuff like this.&nbsp; 
          Theres always tons of different ways of getting to the same 
          objective.&nbsp; Mine actually looks very similar to a regular init 
          script.&nbsp; Has start, stop, and restart all in the same file.&nbsp; 
          It looks very similar to another init script that someone posted using 
          the screen command but like I said my host doesn't have that 
          working.&nbsp; Again, thanks Starkness!</FONT></DIV>
          <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
          <DIV><FONT face=Arial size=2>Nathan - A.K.A. [BASHYOU] 
          SNiPeS</FONT></DIV>
          <BLOCKQUOTE dir=ltr 
          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=starkness@wwwclan.com 
            href="mailto:starkness@wwwclan.com">www clan - Starkness</A> </DIV>
            <DIV style="FONT: 10pt arial"><B>To:</B> <A title=cod@icculus.org 
            href="mailto:cod@icculus.org">cod@icculus.org</A> </DIV>
            <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, December 15, 2003 
            12:21 PM</DIV>
            <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [cod] Linux 
            Startup scripts?</DIV>
            <DIV><BR></DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2>Here is a cronjob I use for sof2.&nbsp; I was working on 
            making it work for&nbsp;cod, but got too busy and can't get the time 
            to work on it.&nbsp; I hope this can help.&nbsp; If it works for 
            you, please post back here if you makde any 
            changes.</FONT></SPAN></DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2></FONT></SPAN>&nbsp;</DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2>Thanks!</FONT></SPAN></DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2></FONT></SPAN>&nbsp;</DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2>//Starkness</FONT></SPAN></DIV>
            <DIV><SPAN class=031531318-15122003></SPAN>&nbsp;</DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2>//Cronjob</FONT></SPAN></DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2></FONT></SPAN>&nbsp;</DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2>*/5 * * * * 
            /home/games/sof2/check_sof2_server.sh</FONT></SPAN></DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2></FONT></SPAN>&nbsp;</DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2>//End cronjob</FONT></SPAN></DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2></FONT></SPAN>&nbsp;</DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2></FONT></SPAN>&nbsp;</DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2>This runs a check script which will run a start script if it 
            doesn't find the server running.</FONT></SPAN></DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2></FONT></SPAN>&nbsp;</DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2><SPAN class=031531318-15122003><SPAN 
            class=031531318-15122003><SPAN class=031531318-15122003><FONT 
            face=Arial color=#0000ff 
            size=2>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</FONT></SPAN></SPAN></SPAN></FONT></SPAN></DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2>///Begin Check script///</FONT></SPAN></DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2></FONT></SPAN>&nbsp;</DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2>#!/bin/sh</FONT></SPAN></DIV>
            <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2>SERVER=`ps -ef | grep -v grep | grep -c 
            sof2ded`</FONT></SPAN></DIV>
            <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2>if [ "$SERVER" != "0" ] ; 
            then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo "Already Running, 
            exiting"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            exit<BR>else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo "Starting up the 
            server..."<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cd 
            /home/getawebhost/sof2<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            /home/getawebhost/sof2/start.sh &gt; /dev/null 
            2&gt;&amp;1<BR>fi</FONT></SPAN></DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2></FONT></SPAN>&nbsp;</DIV>
            <DIV><SPAN class=031531318-15122003><SPAN 
            class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2>///End Check script///</FONT></SPAN></SPAN></DIV>
            <DIV><SPAN class=031531318-15122003><SPAN 
            class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2></FONT></SPAN></SPAN>&nbsp;</DIV>
            <DIV><SPAN class=031531318-15122003><SPAN 
            class=031531318-15122003><SPAN class=031531318-15122003><FONT 
            face=Arial color=#0000ff 
            size=2>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</FONT></SPAN></SPAN></SPAN></DIV>
            <DIV><SPAN class=031531318-15122003><SPAN 
            class=031531318-15122003><SPAN class=031531318-15122003><FONT 
            face=Arial color=#0000ff 
            size=2></FONT></SPAN></SPAN></SPAN>&nbsp;</DIV>
            <DIV><SPAN class=031531318-15122003><SPAN 
            class=031531318-15122003><SPAN class=031531318-15122003><SPAN 
            class=031531318-15122003><SPAN class=031531318-15122003><SPAN 
            class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</FONT></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></DIV>
            <DIV><SPAN class=031531318-15122003><SPAN 
            class=031531318-15122003><SPAN class=031531318-15122003><FONT 
            face=Arial color=#0000ff size=2>///Begin&nbsp;Start 
            script///</FONT></SPAN></SPAN></SPAN></DIV>
            <DIV><SPAN class=031531318-15122003><SPAN 
            class=031531318-15122003><SPAN class=031531318-15122003><FONT 
            face=Arial color=#0000ff 
            size=2></FONT></SPAN></SPAN></SPAN>&nbsp;</DIV>
            <DIV><SPAN class=031531318-15122003><SPAN 
            class=031531318-15122003><SPAN class=031531318-15122003><FONT 
            face=Arial color=#0000ff size=2>#!/bin/sh<BR>cd 
            /home/games/sof2<BR>./sof2ded +set dedicated 2 +set sv_pure 1 +set 
            sv_punkbuster 1 +set fs_homepath /home/games/sof2 +set 
            net_ip&nbsp;xx.xx.xx.xx +set net_port 20100 +exec sof2.cfg +exec 
            +set fs_game osp &gt; /dev/null 
            &amp;</FONT></SPAN></SPAN></SPAN></DIV>
            <DIV><SPAN class=031531318-15122003><SPAN 
            class=031531318-15122003><SPAN class=031531318-15122003><FONT 
            face=Arial color=#0000ff 
            size=2></FONT></SPAN></SPAN></SPAN>&nbsp;</DIV>
            <DIV><SPAN class=031531318-15122003><SPAN 
            class=031531318-15122003><SPAN class=031531318-15122003><SPAN 
            class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2>///End 
            Start&nbsp;script///</FONT></SPAN></SPAN></SPAN></SPAN></DIV>
            <DIV><SPAN class=031531318-15122003><SPAN 
            class=031531318-15122003><SPAN class=031531318-15122003><FONT 
            face=Arial color=#0000ff size=2><SPAN class=031531318-15122003><SPAN 
            class=031531318-15122003><SPAN class=031531318-15122003><FONT 
            face=Arial color=#0000ff 
            size=2>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</FONT></SPAN></SPAN></SPAN></FONT></SPAN></SPAN></SPAN></DIV>
            <DIV><SPAN class=031531318-15122003><FONT face=Arial color=#0000ff 
            size=2></FONT></SPAN>&nbsp;</DIV>
            <DIV><SPAN class=031531318-15122003></SPAN>&nbsp;</DIV>
            <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
              <DIV class=OutlookMessageHeader dir=ltr align=left><FONT 
              face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
              Nathan Peters [mailto:natedog550@hotmail.com]<BR><B>Sent:</B> 
              Monday, December 15, 2003 1:07 PM<BR><B>To:</B> 
              cod@icculus.org<BR><B>Subject:</B> Re: [cod] Linux Startup 
              scripts?<BR><BR></FONT></DIV>
              <DIV><FONT face=Arial size=2>Cool.&nbsp; Yeah what I'm planning to 
              do as far as the server not responding is probably a cron job that 
              runs every 5 minutes or so.&nbsp; If it finds that the server 
              process is not running it will run my start script.&nbsp; If it 
              finds it is running it will not do anything.&nbsp; Something to 
              that nature.&nbsp; Man the possiblities of a perfect set of 
              scripts we could all create if we all put our ideas 
              together!</FONT></DIV>
              <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
              <DIV><FONT face=Arial size=2>Nathan - A.K.A. [BASHYOU] 
              SNiPeS</FONT></DIV>
              <BLOCKQUOTE dir=ltr 
              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=mikeydee@usd.wli.net 
                href="mailto:mikeydee@usd.wli.net">MikeyDee</A> </DIV>
                <DIV style="FONT: 10pt arial"><B>To:</B> <A 
                title=cod@icculus.org 
                href="mailto:cod@icculus.org">cod@icculus.org</A> </DIV>
                <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, December 15, 
                2003 11:46 AM</DIV>
                <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [cod] Linux 
                Startup scripts?</DIV>
                <DIV><BR></DIV>
                <DIV><FONT face=Arial size=2>here is my startup config that 
                works&nbsp; just fine.&nbsp; If i find the server not responding 
                I just login and kill -9 the pid</FONT></DIV>
                <DIV><FONT face=Arial size=2>#!/bin/bash</FONT></DIV>
                <DIV><FONT face=Arial size=2>while 
                true<BR>do<BR>/home/user/callofduty/cod_lnxded +exec ded.cfg 
                +sets gamestartup \"`date +"%m-%d-%Y %T"`\"<BR>echo "server 
                crashed on `date`" &gt; last_crash.txt<BR>done</FONT></DIV>
                <BLOCKQUOTE dir=ltr 
                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=natedog550@hotmail.com 
                  href="mailto:natedog550@hotmail.com">Nathan Peters</A> </DIV>
                  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
                  title=cod@icculus.org 
                  href="mailto:cod@icculus.org">cod@icculus.org</A> </DIV>
                  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, December 
                  15, 2003 9:11 AM</DIV>
                  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [cod] Linux 
                  Startup scripts?</DIV>
                  <DIV><BR></DIV>
                  <DIV><FONT face=Arial size=2>Not sure if I can help you there 
                  man.&nbsp; I don't know a ton about linux.&nbsp; Yet there is 
                  a bunch of peeps here that do.&nbsp; I will tell you in 
                  advance what they will need.&nbsp; Do a top command or 
                  something that shows all the processes running.&nbsp; Too many 
                  variables can contribute to stuff like that - hanging, 
                  crashing, etc.&nbsp; More details you can give them the 
                  better.&nbsp; What my script does is run the program in the 
                  background and gives it the nohup command and also writes to a 
                  logfile.&nbsp; This keeps the process from quittin'.&nbsp; It 
                  works very well.&nbsp; I'm very proud of myself haha.&nbsp; 
                  Many hours of research and search engines finding the pieces I 
                  needed to make it work.&nbsp; As far as the screen command 
                  goes I don't know enough about that to help you.&nbsp; But 
                  from what I have learned it keeps it running when you close 
                  the shell or logoff the system.&nbsp; Anyone can correct me if 
                  I'm wrong.&nbsp; Anyways, that's my input.</FONT></DIV>
                  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
                  <DIV><FONT face=Arial size=2>Nathan - A.K.A - [BASHYOU] 
                  SNiPeS</FONT></DIV>
                  <BLOCKQUOTE dir=ltr 
                  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=mikeydee@usd.wli.net 
                    href="mailto:mikeydee@usd.wli.net">MikeyDee</A> </DIV>
                    <DIV style="FONT: 10pt arial"><B>To:</B> <A 
                    title=cod@icculus.org 
                    href="mailto:cod@icculus.org">cod@icculus.org</A> </DIV>
                    <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, December 
                    15, 2003 10:57 AM</DIV>
                    <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [cod] 
                    Linux Startup scripts?</DIV>
                    <DIV><BR></DIV>
                    <DIV><FONT face=Arial size=2>That sounds wonderful.&nbsp; I 
                    have been running the server and never had crash yet it just 
                    hangs with either 100% cpu and none can connect.&nbsp; 
                    That&nbsp; is what I am trying to sort out getting 
                    restarted?</FONT></DIV>
                    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
                    <DIV><FONT face=Arial size=2>Red Hat 8.0 install on the 
                    OS.&nbsp; I have not tried the latest screen commands does 
                    that change the way the dedicated server runs?</FONT></DIV>
                    <BLOCKQUOTE dir=ltr 
                    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=natedog550@hotmail.com 
                      href="mailto:natedog550@hotmail.com">Nathan Peters</A> 
                      </DIV>
                      <DIV style="FONT: 10pt arial"><B>To:</B> <A 
                      title=cod@icculus.org 
                      href="mailto:cod@icculus.org">cod@icculus.org</A> </DIV>
                      <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, 
                      December 15, 2003 6:58 AM</DIV>
                      <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [cod] 
                      Linux Startup scripts?</DIV>
                      <DIV><BR></DIV>
                      <DIV><FONT face=Arial size=2>Hey everyone.&nbsp; It took 
                      me 5 hours this weekend to write custom startup, restart, 
                      and shutdown scripts for the medal of honor linux server - 
                      because the server I'm hosted on doesn't have the screen 
                      command and I didn't want to have to install a ton of 
                      stuff to make it work.&nbsp; I'm also in the process of 
                      writing scripts to turn mods on and off very easily and 
                      also a script that emails me when the server goes down or 
                      a script that restarts the server, not sure yet.&nbsp; 
                      But, I'm pretty sure these scripts will&nbsp;work for CoD 
                      also.&nbsp; I copywrited or licensed them whatever you 
                      want to call it with the GNU license so they're free but I 
                      still get credit for writing them, so if you want to take 
                      a look at them let me know and I'll put them somewhere 
                      where you can download them, that way you get a copy of 
                      the license.&nbsp; Reason: It took me a long time to do 
                      this and I doubt anyone has scripts like these.&nbsp; They 
                      can be run from a cron also.</FONT></DIV>
                      <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
                      <DIV><FONT face=Arial size=2>Peace out,</FONT></DIV>
                      <DIV><FONT face=Arial size=2>&nbsp; Nathan - A.K.A. 
                      [BASHYOU] SNiPeS</FONT></DIV>
                      <BLOCKQUOTE dir=ltr 
                      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=david@fuess.net 
                        href="mailto:david@fuess.net">David A. Fuess</A> </DIV>
                        <DIV style="FONT: 10pt arial"><B>To:</B> <A 
                        title=cod@icculus.org 
                        href="mailto:cod@icculus.org">cod@icculus.org</A> </DIV>
                        <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, 
                        December 15, 2003 7:32 AM</DIV>
                        <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [cod] 
                        Linux Startup scripts?</DIV>
                        <DIV><BR></DIV>I have mine in a forever loop with a 5 
                        second delay. If it crashes, which is rare, it the quit 
                        command is issued then it pauses for 5 seconds and 
                        restarts the server. The script also manages the log 
                        files and other cleanup tasks.<BR><BR>At 10:13 AM 
                        12/13/2003 -0800, you wrote:<BR><BR>
                        <BLOCKQUOTE class=cite cite="" type="cite"><FONT 
                          face=arial color=#000080 size=2>Okay thanks for all 
                          the feedback.<BR></FONT><BR><FONT face=arial 
                          color=#000080 size=2>&nbsp;<BR></FONT><BR><FONT 
                          face=arial color=#000080 size=2>Next question is I 
                          used to have to set a cron job or something to restart 
                          the server when it hangs or 
                          crashes.<BR></FONT><BR><FONT face=arial color=#000080 
                          size=2>&nbsp;<BR></FONT><BR><FONT face=arial 
                          color=#000080 size=2>Anyone using any daemon tools or 
                          supervisor tools on CoD that 
                          work.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                          <BR></FONT><BR><FONT face=arial color=#000080 
                          size=2>&nbsp;<BR>
                          <HR>

                          <DIV align=center></FONT></DIV><FONT face=tahoma 
                          size=2><B>From:</B> Rene de Vries [<A 
                          href="mailto:rene.devries@home.nl" 
                          eudora="autourl">mailto:rene.devries@home.nl</A>] 
                          <BR><B>Sent:</B> Thursday, December 11, 2003 11:21 
                          PM<BR><B>To:</B> cod@icculus.org<BR><B>Subject:</B> 
                          RE: [cod] Linux Startup scripts?<BR></FONT><BR><FONT 
                          face="Times New Roman, Times">&nbsp;<BR></FONT><BR><FONT 
                          face=arial color=#0000ff 
                          size=2>Hi,<BR></FONT><BR><FONT 
                          face="Times New Roman, Times">&nbsp;<BR></FONT><BR><FONT 
                          face=arial color=#0000ff size=2>create a 
                          file<BR></FONT><BR><FONT face=arial color=#0000ff 
                          size=2>ex: vi start<BR></FONT><BR><FONT face=arial 
                          color=#0000ff size=2>paste this "screen -A -m -d -S 
                          cod /cod_lnxded +map_rotate"<BR></FONT><BR><FONT 
                          face=arial color=#0000ff size=2>write and quit 
                          vi<BR></FONT><BR><FONT face=arial color=#0000ff 
                          size=2>chmod +777 start<BR></FONT><BR><FONT face=arial 
                          color=#0000ff size=2>execute: 
                          /start<BR></FONT><BR><FONT face=arial color=#0000ff 
                          size=2>ctrl a+d to leave the 
                          screen<BR></FONT><BR><FONT 
                          face="Times New Roman, Times">&nbsp;<BR></FONT>
                          <DL><BR>
                            <DD><FONT face=tahoma size=2>-----Oorspronkelijk 
                            bericht-----<BR>
                            <DD>Van:</B> MikeyDee [<A 
                            href="mailto:mikeydee@usd.wli.net" 
                            eudora="autourl">mailto:mikeydee@usd.wli.net</A>]<BR>
                            <DD>Verzonden:</B> vrijdag 12 december 2003 0:43<BR>
                            <DD>Aan:</B> cod@icculus.org<BR>
                            <DD>Onderwerp:</B> [cod] Linux Startup 
                            scripts?<BR></FONT><BR>
                            <DD><FONT face=arial size=2>anyone have linux 
                            startup script ?<BR></FONT><BR>
                            <DD><FONT 
                            face="Times New Roman, Times"><BR></FONT><BR>&nbsp; 
                            <DD><FONT face=arial size=2>beside doing 
                            /cod_lnxded<BR></FONT><BR>
                            <DD><FONT 
                            face="Times New Roman, Times"><BR></FONT><BR>&nbsp; 
                            <DD><FONT face=arial size=2>I was trying to add +set 
                            commands to get it automated but seem to fail on 
                            me?<BR></FONT><BR>
                            <DD><FONT 
                            face="Times New Roman, Times"><BR></FONT>&nbsp;</DD></DL></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>