On 07-Oct-97 David Stern wrote: >Hi, > >I'm looking for the place in /etc/rc ?? just after all the filesystems >get mounted and I don't seem to be able to find it. In another common >linux distro, I put my isapnp/awe soundcard initialization in >/etc/rc.d/rc.sysinit, but there seem to be a few differences in the >structure of the /etc/rc heirarchy between that other distro and debian >and I can't find the right place, would someone please help me out?
Create a file like: /etc/init.d/package_name where the package_name file contains your initialization code. Then make links as: ln /etc/init.d/package_name /etc/rc#.d/S##package_name and ln /etc/init.d/package_name /etc/rc#.d/K##package_name where # is the run level number(s) that you wish to S## start or K## kill your package. The ## digits determine where in booting sequence your code will run. If you specify S## the same (don't) for two different packages, they start in indeterminate order. rc1.d denotes single user mode while rc2-7.d are flavors of multi-user modes. My system doesn't run X stuff until rc3.d since X has failure modes which leave the system unuseable. You want to be able to have multi-user mode (rc2.d) available for debugging X. Some S/As isolate networking capabilities to a specific run-level. YMMV HTH > >Thanks, > >David Stern > > > >-- >TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to >[EMAIL PROTECTED] . >Trouble? e-mail to [EMAIL PROTECTED] . ----------------------------------------- Ralph Winslow [EMAIL PROTECTED] The IQ of the group is that of the member whose IQ is lowest divided by the number of members. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .