On Thu, Jun 26, 2008 at 12:51 PM, Richard L. Hamilton <[EMAIL PROTECTED]>
wrote:

> The legacy way is to link or symlink your /etc/init.d/mysql.server script
> to
> /etc/rc2.d/S##mysql.server or /etc/rc3.d/S##mysql.server (choosing the
> rc2.d or rc3.d directory and the number for ## so as to have it start up
> in more or less the right place relative to other rc*.d scripts).  You also
> want
> to add a K##mysql.server script to /etc/rc[02S].d to shut it down.
>
>
Curiously this tradition of "file goes in /etc/init.d, SOFT linked in
/etc/rc?.d" is not followed by the scripts that ship with Nevada!?

Instead, hard links are used!!!
Example:
/etc $ ls -li *.d/*apache
     32836 -rwxr--r--   6 root     sys         2448 Jun 10 09:31
init.d/apache
     32836 -rwxr--r--   6 root     sys         2448 Jun 10 09:31
rc0.d/K16apache
     32836 -rwxr--r--   6 root     sys         2448 Jun 10 09:31
rc1.d/K16apache
     32836 -rwxr--r--   6 root     sys         2448 Jun 10 09:31
rc2.d/K16apache
     32836 -rwxr--r--   6 root     sys         2448 Jun 10 09:31
rc3.d/S50apache
     32836 -rwxr--r--   6 root     sys         2448 Jun 10 09:31
rcS.d/K16apache






-- 
Any sufficiently advanced technology is indistinguishable from magic.
Arthur C. Clarke

Afrikaanse Stap Website: http://www.bloukous.co.za

My blog: http://initialprogramload.blogspot.com

ICQ = 193944626
YahooIM = johan_hartzenberg
GoogleTalk = [EMAIL PROTECTED]
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to