Professional Web Applications Themes

startup ... - SCO

Hello, I noticed there are folders like: /etc/rc0.d /etc/rc1.d /etc/rc2.d .. .. .. Each folder corresponds to a runlevel? In each of these folders there is a bunch of scripts...are they the one who get executed when I type 'init 2' for example in /etc/rc2.d/ ? In what order to they get executed which script file before which one ? -- Can I somehow disable the 'init 0' only ? I tried to 'mv /etc/rc0.d /etc/rc0.d.old' but yet I see the system launching the shutdown scripts... Regards, Elias...

  1. #1

    Default startup ...

    Hello,

    I noticed there are folders like:

    /etc/rc0.d
    /etc/rc1.d
    /etc/rc2.d
    ..
    ..
    ..
    Each folder corresponds to a runlevel?

    In each of these folders there is a bunch of scripts...are they the
    one who get executed when I type 'init 2' for example in /etc/rc2.d/ ?
    In what order to they get executed which script file before which one
    ?

    --
    Can I somehow disable the 'init 0' only ?
    I tried to 'mv /etc/rc0.d /etc/rc0.d.old' but yet I see the system
    launching the shutdown scripts...


    Regards,
    Elias
    lallous Guest

  2. #2

    Default Re: startup ...

    On 31 Jul 2003 22:06:00 -0700, [email]lallouslgwm.org[/email] (lallous) wrote:
    >Hello,
    >
    >I noticed there are folders like:
    >
    >/etc/rc0.d
    >/etc/rc1.d
    >/etc/rc2.d
    You have an rc1.d directory?
    >.
    >.
    >.
    >Each folder corresponds to a runlevel?
    >
    >In each of these folders there is a bunch of scripts...are they the
    >one who get executed when I type 'init 2' for example in /etc/rc2.d/ ?
    >In what order to they get executed which script file before which one
    >?
    >Can I somehow disable the 'init 0' only ?
    >I tried to 'mv /etc/rc0.d /etc/rc0.d.old' but yet I see the system
    >launching the shutdown scripts...
    I cannot imagine why you would want to do that.
    >Regards,
    >Elias
    See [url]http://osr5doc.ca.caldera.com:457/OSAdminG/sstT.etcrc.html[/url] for a
    quick rundown on what happens during bootup, and read the init(M),
    rc2(ADM), and rc0(ADM) man pages for more information.


    Scott McMillan

    Scott McMillan Guest

  3. #3

    Default Re: startup ...

    lallous <lallouslgwm.org> wrote:
    >Hello,
    >I noticed there are folders like:
    >/etc/rc0.d
    >/etc/rc1.d
    >/etc/rc2.d
    >.
    >.
    >.
    >Each folder corresponds to a runlevel?
    Yes, though it's controlled by /etc/inittab

    See [url]http://aplawrence.com/Unixart/startup.html[/url]

    >In each of these folders there is a bunch of scripts...are they the
    >one who get executed when I type 'init 2' for example in /etc/rc2.d/ ?
    >In what order to they get executed which script file before which one
    >?
    >--
    >Can I somehow disable the 'init 0' only ?
    >I tried to 'mv /etc/rc0.d /etc/rc0.d.old' but yet I see the system
    >launching the shutdown scripts...

    Don't do that.

    There are reasons for the scripts. If you have some specific
    reason to shutdown without running the scripts, use "haltsys".

    --
    [email]tonyaplawrence.com[/email] Unix/Linux/Mac OS X resources: [url]http://aplawrence.com[/url]
    Get paid for writing about tech: [url]http://aplawrence.com/publish.html[/url]
    tony@aplawrence.com Guest

Similar Threads

  1. another startup problem
    By Jeroen van Vlierden in forum ASP.NET Web Services
    Replies: 0
    Last Post: May 4th, 11:51 AM
  2. Open At OS X Startup
    By Tom Fitch in forum FileMaker
    Replies: 2
    Last Post: August 18th, 02:19 PM
  3. Startup
    By Sharon F in forum Windows XP/2000/ME
    Replies: 4
    Last Post: July 14th, 01:31 AM
  4. Startup programs
    By Karen Albrecht [MSFT] in forum Windows XP/2000/ME
    Replies: 7
    Last Post: July 7th, 08:52 PM
  5. ISM startup not functioning
    By malcolm@malkay.plus.com in forum Informix
    Replies: 0
    Last Post: June 24th, 04:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139