1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

init.d

Discussion in 'HD/HDR-FOX T2 Customised Firmware' started by osmyth, Jun 20, 2012.

  1. osmyth

    osmyth Member

    Is there any logic/criteria for the naming of the scripts in this folder? Do they run in number order?
    Could you create something with a name in the S100s.
    Thanks.
     
  2. af123

    af123 Administrator Staff Member

    They run in numerical order and must start with a capital S to be run automatically.
    You could create something > 99 and it would work but it isn't common practice.
     
  3. osmyth

    osmyth Member

    Thanks af123. Just wondered if there was a limit.
     
  4. af123

    af123 Administrator Staff Member

    Read /mod/etc/init.d/rcS if you want to see the script that runs all of the other init scripts (it's fairly short).