[ale] Q: how do I start NFS exports at boot in RH-7.*

James P. Kinney III jkinney at localnetsolutions.com
Thu Jul 25 13:58:24 EDT 2002


The more SysVish way, which RedHat mostly adopted is:

put a link in /etc/rc.d/rc<runlevel>.d to /etc/init.d/nfs  The link
should look like:

in rc3.d (to run only in full server mode, no X)

S65nfs -> ../init.d/nfs

and another :
K03nfs -> ../init.d/nfs

The S65nfs says as item 65 on init startup, start nfs. The S will have
it sent a "start". The K03nfs is for shutdown. The K will have nfs sent
a "stop". The number used for each is important from an ordering sense
only. Nfs should start after networking and firewalls. It should stop
before networking. init calls them in the order defined by locale. So
the number first followed by the alphabetical if two same numbers.


On Thu, 2002-07-25 at 13:42, John Mills wrote:
> ALErs -
> 
> I have set up a NFS-exported directory. It works fine when I manually run
> '/etc/rc.d/init.d/nfs start', but doesn't get started at boot. I could put
> that line in '/etc/rc.d/rc.local', but is there a more 'RedHatish' way to
> start this service off, and stop it automagically at shutdown?
> 
> TIA.
> 
>  - John Mills
> 
> 
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
> sent to listmaster at ale dot org.
-- 
James P. Kinney III   \Changing the mobile computing world/
President and CEO      \          one Linux user         /
Local Net Solutions,LLC \           at a time.          /
770-493-8244             \.___________________________./

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7 



 This is a digitally signed message part




More information about the Ale mailing list