[Ilugc] Automatic starting of SETI@Home

  • From: anand.kumar@xxxxxxxxxx (Anand Kumar Saha)
  • Date: Thu Sep 9 20:20:40 2004



 | From: Srinivasan R 

 | Subject: [Ilugc] Automatic starting of SETI@Home


1. Write a small script to start your application. It may look 
   like this:

#!/bin/sh
# Name: start_seti.sh
# Description: Script to start SETI@Home

<do some validation here if you want>
<write the command to start SETI@Home here>
</do some validation here if you want>

#End of script

2. Make it executable

#chmod 755 start_seti.sh

3. Copy it in /etc/rc.d/init.d directory

4. Go to /etc/rc.d/rc?.d directory, where '?' is a number 
   specifying the run level you would boot in [1]

# cd /etc/rc.d/rc?.d

5. Provide a soft link to the shell script here 

#ln -s /etc/rc.d/init.d/start_seti.sh S99start_seti

6. do a telinit to make init re-read the config files ...
   (or reboot)

#telinit <run level>


This should start the SETI program every time you boot into
the given run level.

[1] Read the comments in /etc/inittab to know about runlevels. 

HTH 

saha
--







Other related posts: