* nfsd: run rpc.nfsd from the pre-start script since it's not actually

a daemon (it just starts some kernel threads).  In the post-stop
  script, stop the kernel threads.
* exportfs: fix the createMountPoints option.
* Mount the nfsd filesystem on /proc/fs/nfsd because mountd prefers
  this.

svn path=/nixos/branches/boot-order/; revision=22187
This commit is contained in:
Eelco Dolstra
2010-06-08 16:01:31 +00:00
parent 3eac003800
commit a9e8bf6491
2 changed files with 13 additions and 7 deletions

View File

@@ -142,7 +142,7 @@ in
+ " " + fs.fsType
+ " " + fs.options
+ " 0"
+ " " + (if fs.mountPoint == "/" then "1" else "2")
+ " " + (if fs.fsType == "none" then "0" else if fs.mountPoint == "/" then "1" else "2")
+ "\n"
)}
@@ -187,8 +187,6 @@ in
task = true;
stopOn = "filesystem";
extraConfig = "console owner";
script =