Fixing the boot sequence in case of only having nfsKernel.client.enable = true, and not server.
svn path=/nixos/trunk/; revision=31109
This commit is contained in:
parent
0de75cde39
commit
8bc381c4cd
|
@ -193,7 +193,10 @@ in
|
|||
|
||||
description = "Kernel NFS server - Network Status Monitor";
|
||||
|
||||
startOn = "started nfs-kernel-mountd and started nfs-kernel-nfsd";
|
||||
startOn = if (cfg.server.enable) then
|
||||
"started nfs-kernel-mountd and started nfs-kernel-nfsd"
|
||||
else
|
||||
"started portmap";
|
||||
stopOn = "stopping nfs-kernel-exports or stopping portmap";
|
||||
|
||||
preStart =
|
||||
|
|
Loading…
Reference in New Issue