[PLUG] rc startup script question
Wil Cooley
wcooley at nakedape.cc
Thu Jun 10 17:35:03 UTC 2004
On Thu, 2004-06-10 at 16:08, Vincent Yau wrote:
> Hello:
>
> I am running Fedora RC2 2.6.6 kernel.
> It was my understanding (from other Unix flavors)
> that when I want to add new stuff to be started at boot time,
> I put in a script in /etc/init.d and then symlink
> from /etc/rc<level>.d/
>
> I just did, and symlink from /etc/rc3.d, /etc/rc2.d and /etc/rc4.d
> And then to verify, I typed
>
> /etc/rc 3
>
> and my stuff did get started.
> So just did a reboot but none of my stuff was started...
>
> Did I miss a step? Why is it that I ran /etc/rc and the stuff was started
> but not when I power reboot the box?
On Red Hat/Fedora, you can save yourself the pain of manually managing
those symlinks with the 'chkconfig' command. Are you booting into a
graphical login? If so that's runlevel 5, which you didn't mention
making a link for.
Wil
--
Wil Cooley wcooley at nakedape.cc
Naked Ape Consulting http://nakedape.cc
More information about the PLUG
mailing list