[Peeweelinux] boot scripts

Troy Engel [email protected]
Mon, 31 Mar 2003 15:51:41 -0800


Create a file named something like "30nfsmount", mode 0755, that is simply:

#!/bin/sh
/bin/mount -a -t nfs

Obviously, make sure it's numbered at least one step higher than your 
networking config. (I've completely rewritten the networking 
initialization, so don't remember the defaults...)

Then add this file as a custom file that gets put into /etc/rcS.d/ upon 
build. Increase it's complexity as necessary...

-te


Ken Emmons, Jr. wrote:
> Hello,
> 
> I have been trying to track down why my nfs filesystem is not mounted by root at bootup. I am able to mount it manually as root no problem. 
> 
> It seems that the rc.sysinit script which performs the "mount -a" command is executed before the rc scripts, so my network is not up at the point the mount command is processed, therefore my nfs is not mounted. 
> 
> Is there a post sysinit script that can be used for this purpose?
> 
> ~Ken
> 
> _______________________________________________
> Peeweelinux mailing list
> [email protected]
> http://mail.adis.on.ca/lists/listinfo/peeweelinux

-- 
Troy Engel, Systems Engineer
"Now, Beakie, we'll just flip this switch and 60,000 refreshing
  volts of electricity will surge through your body. Ready?"