* 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:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user