Linux Newbie help
 help / color / mirror / Atom feed
From: G Anna <drguruolai@eth.net>
To: linux-newbie@vger.kernel.org
Subject: scripts in /etc/rc2.d/
Date: 15 May 2002 21:10:43 +0530	[thread overview]
Message-ID: <m37km5zaf8.fsf@wobble.eth.net> (raw)

Dear All,

I have kept the startup script "dictd.init" for the dictd server in
the /etc/init.d/ directory.

I want the dictd server to be started automatically while booting my
system.  So I created a symbolic link to dict.init script under the
/etc/rc2.d/ (I use runlevel 2) So I have

$ ls -l /etc/init.d/dictd.init
-rwxr-xr-x    1 root     root          747 May 11 12:51 /etc/init.d/dictd.init

$ ls -l /etc/rc2.d/S39dictd
lrwxrwxrwx    1 root     root           20 May 15 21:02 /etc/rc2.d/S39dictd -> ../init.d/dictd.init

My question is will this work?  I have randomly chosen the name
"S39dict".  I can understand that the prefix "S" is for "Start".  What
is that number for?  How should I chose the number?  Is any random
number - like the one I have chosen - sufficient?  What is the purpose
of that number?

$ cat /etc/issue

Red Hat Linux release 7.1 (Seawolf)
Kernel 2.4.16 on an i686

$ uname -a
Linux wobble 2.4.16 #8 Tue May 14 14:15:58 IST 2002 i686 unknown

Kindly help me to understand.

Cheers,
anna

-- 

(9) I will not include a self-destruct mechanism unless absolutely
    necessary.  If  it is necessary, it will not be a large red button
    labelled  "Danger: Do Not Push". The big red button marked "Do Not
    Push"  will  instead  trigger  a spray of bullets on anyone stupid
    enough  to  disregard  it.  Similarly,  the ON/OFF switch will not
    clearly be labelled as such. - Peter Anspach in "The Top 100 Things 
    I'd Do If I Ever Became An Evil Overlord"


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

             reply	other threads:[~2002-05-15 15:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-15 15:40 G Anna [this message]
2002-05-16 12:27 ` scripts in /etc/rc2.d/ Steven Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m37km5zaf8.fsf@wobble.eth.net \
    --to=drguruolai@eth.net \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox