Find the answer to your Linux question:
Results 1 to 4 of 4
I'm trying to install VMware right now and it needs to know the directory where I keep my init files, /sbin/init is not a directory so I dunno what to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User George Harrison's Avatar
    Join Date
    Mar 2005
    Location
    Pepperland
    Posts
    445

    In what directory are my init file located?


    I'm trying to install VMware right now and it needs to know the directory where I keep my init files, /sbin/init is not a directory so I dunno what to do now. Does anyone know what the default directory is that the init files are being kept. Any help would be much appreciated (especially quick replies) thank you.

    EDIT: here's VMware asking me
    Code:
    What is the directory that contains the init directories (rc0.d/ to
    rc6.d/)?
    and here's whereis
    Code:
    $ whereis init
    init: /usr/src/linux-2.6.12-ARCH/init /sbin/init /usr/man/man8/init.8.gz
    I put in the /usr/src.... into VMware and it says
    Code:
    What is the directory that contains the init directories (rc0.d/ to
    rc6.d/)? /usr/src/linux-2.6.12-ARCH/init
    
    The path "/usr/src/linux-2.6.12-ARCH/init" is a directory which does not contain
    a rc0.d directory.
    Registered Linux user #393103

  2. #2
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    /etc contains the init files.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  3. #3
    Linux Engineer psic's Avatar
    Join Date
    Nov 2004
    Location
    Ljubljana, Slovenia
    Posts
    1,205
    Look for the /etc/rcX.d, where X is from 0 to 6.
    Stumbling around the 'net:
    www.cloudyuseful.com

  4. #4
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    The init scripts are normally located under /etc/init.d/ the runlevel directorys /etc/rc*.d/ just contain symlinks to the scripts located under /etc/init.d/

Posting Permissions

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