[root@Metronome initng]# ngc -u startDaemonNFS
initNGControl (0.6.10.2 ) by Jimmy Wennlund http://www.initng.org/
Service "startDaemonNFS" previously failed (DAEMON_FAIL_START_LAUNCH),
it needs to be zaped "ngc -z startDaemonNFS", so initng will forget the failing state before you are able to retry start it.

Your script looks a little bit mangled, I where fighting with setting up a "local" script a couple of weeks ago and I wrapped together the following which is working.

I have the "need = samba/smbd" in there as I want to be sure the directories are mounted before making my mount.

By the way, why did you install nfs from ipkg and not using the nfs which is native on the box? Guess it would be enough to add "nfs" to runlevels default and maybe tweak the exports file? I haven't checked further into this as I haven't had the need for a nfs server.

I will try to use your script and see if it works.
I also have an idea tahat I might have a problem with PID of the programs that I am runnig.

By the way, why did you install nfs from ipkg and not using the nfs which is native on the box? Guess it would be enough to add "nfs" to runlevels default and maybe tweak the exports file? I haven't checked further into this as I haven't had the need for a nfs server.

Herm I have a NEtwork Space 2 with the original firmware version 1.2.9 I think that it does not have a nfs server.
CAn some one please confir this. And if it has wer is the export file so I can configure it?

The code snippet above where from the 2.0.5 with nfs pre-installed in the firmware.

I have a old note saying that I had to run "mkdir /var/lib/nfs/v4recovery" on the 2.2.8 box, but I don't remember the reason, nfs failed to start due to the directory missing, but I can't recall if this where the client or server requiring this.

The problem is that if it starts on boot the shares are not accessible. But if I kill the unfsd and run it by hand the shares work.
I know for shure both progrmas (portmap and unfsd) are runing after boot.

I think the problem is that in boot the unfsd does not recognize the /etc/exports file and wen it loads up it does not have any shares,