Find the answer to your Linux question:
Results 1 to 3 of 3
Hello, just a quick question: Code: # Default runlevel. (Do not set to 0 or 6) id:3:initdefault: # System initialization (runs when system boots). si:S:sysinit:/etc/rc.d/rc.S # Script to run when ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    25

    Init Tweaking


    Hello, just a quick question:

    Code:
    # Default runlevel. (Do not set to 0 or 6)
    id:3:initdefault:
    
    # System initialization (runs when system boots).
    si:S:sysinit:/etc/rc.d/rc.S
    
    # Script to run when going single user (runlevel 1).
    su:1S:wait:/etc/rc.d/rc.K
    
    # Script to run when going multi user.
    rc:2345:wait:/etc/rc.d/rc.M
    since I'm always booting into multiuser can I comment out the "Script to run when going single user (runlevel 1)."? or does that need to run prior to rc.M? It seems like rc.M undoes some of rc.K.

    Thanks.

  2. #2
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    Runlevel 1 is maintenance/rescue mode. Commenting that out will leave you without something to fall back on /if/ something goes wrong.
    Can't tell an OS by it's GUI

  3. #3
    Just Joined!
    Join Date
    Mar 2007
    Posts
    25
    Thanks for the advice.

    Can't tell an OS by it's GUI
    LOL

Posting Permissions

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