A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

August 31, 2010

want to run /etc/rc.d/rc.local in system boot time

Hi all

I would like to mount NFS file system in the kernel boot up time. ( soon after finishing booting). I have added the mount command in the file /etc/rc.d/rc.local as follows

mount -t nfs -o nolock /mnt and its mounting success fully when i run rc.local file manually inthe command prompt as follows

/etc/rc.d/rc.local &

But I need to run rc.local automatically in the system start up time so that I can run all applications automatically.

Where to add this rc.local file , to make it's start automatic.

Please help me out to solve it.

Thanks in advance

Click Here!