The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Today's stupid linux question by Egaeus2003-11-01 09:12:29
  /etc/rc2.d "resource" scripts (aka Services) by inittab 2003-11-01 09:23:25
yes, the cron runs it at specific day/times according to the clock,
but you want to start something every time your machine boots.

This requires having an entry in the set of startup scripts.
A group of dirs exist under /etc, called rc.X, where X corresponds
to the "run level" of the machine. There is a shell script that
goes through the directory running the appropriate start/stop scripts.

When you get into that directory, you will see a lot of file names
that look like "205anyservicename". The numbers are put in front of
the file name, to determine what order the program will be called.
Important programs that need to be started early on the process
are given low numbers, along with pre-requsites for other things.
The scripts with higher numbers are run later.

You will also find tha most fo these files are actually "sym-links"
to scripts in the /etc/init.d directory.

That should be enough to get you started.
[ Reply ]

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)