Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I have installed fedora 17 just now. I found the script /etc/rc5.d/K90network.(dont boot network by default?) But the network is good when I boot the system. After I run ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2013
    Posts
    1

    Question about service startup in fedora 17


    Hi,
    I have installed fedora 17 just now. I found the script /etc/rc5.d/K90network.(dont boot network by default?) But the network is good when I boot the system. After I run K90network stop , the connetion is down, and restored after K90network start. How It could be.

    thx

  2. #2
    Linux Enthusiast
    Join Date
    Dec 2011
    Location
    Turtle Island West
    Posts
    518
    The /etc/rc files are there *because* they are executed at boot, in the order of the numbers at the beginning of the filenames. S01 starts first, S99 starts last. The K files are for shutdown, and work exactly the same way. You can use these scripts to start and stop the services on your PC.

    I personally use the wrapper 'service' to do this. For example, if I want to stop NFS, I log in as root and type:

    service nfs stop

    The Network File Server is now stopped. No more nfs.
    Then I do whatever I needed to do, and go:

    service nfs start

    and NFS is back up and running. 'service' just calls the appropriate script in /etc/rc5.d/ or whatever runlevel I'm in. You can learn a lot about your system by reading these scripts.

    Hope that helps.

    Peace and Cheer.

Posting Permissions

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