tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Modify System Startup/Shutdown on Tru64 Unix
@ 2006-03-29 18:39 Christopher Knorr
  0 siblings, 0 replies; only message in thread
From: Christopher Knorr @ 2006-03-29 18:39 UTC (permalink / raw)


QUESTION:	

Please explain the exact steps needed to add a script to the Tru64 Unix
startup process.

I got a tremendous amount of great responses to this, as well as a
surprising number of people who wanted to know the same thing (which
made me feel better!).

ANSWER:

Copy your script to /sbin/init.d. Assume in this example the script is
called example.sh. The script should have execute permission (chmod +x)
and be able to handle one parameter ($1 = start and $1 = stop). Look at
other scripts in this directory for examples.

Now go to /sbin/rc3.d. Create a symbolic link to your script starting
with an S and followed by the number that corresponds to the order in
which you want the script to start. For example:

ln -s ../init.d/example.sh S99example

If you want a corresponding shutdown script, the "S" should be replaced
with a "K".




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-29 18:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-29 18:39 SUMMARY: Modify System Startup/Shutdown on Tru64 Unix Christopher Knorr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox