Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    update-rc.d problem

    Hi All,

    I have several scripts in /etc/rcS.d/ directory which are required to run on start up.

    Now I have written a new script, and I want it to be run during the system start up itself (Not in any runlevel). So I have given the default start as,

    # Default Start : S

    But when I use the command :
    "update-rc.d defaults" is creating symbolic links to

    /etc/rc0.d /etc/rc1.d ..../etc/rc6.d.

    But I actually need a symbolic link in the /etc/rcS.d/ directory.

    Is there is any way to achieve this ( I tried manullay creating a link in /etc/rcS.d, but that is not running the script on system start up).

    Thanks in advance,

  2. #2
    Linux Engineer Kloschüssel's Avatar
    Join Date
    Oct 2005
    What should your script do and why should it run with rcS.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