nfs: the statd daemon should be started after nfs only if the nfs server is

enabled.

OTH, I don't know why statd may depend at all on nfsd being started.


svn path=/nixos/trunk/; revision=20402
This commit is contained in:
Lluís Batlle i Rossell 2010-03-05 11:05:37 +00:00
parent 1065e86642
commit dfb89ec8c3

View File

@ -151,7 +151,7 @@ in
description = "Kernel NFS server - Network Status Monitor";
startOn = "started nfs-kernel-nfsd and started portmap";
startOn = "started ${if cfg.server.enable then "nfs-kernel-nfsd and " else ""} started portmap";
stopOn = "stopping nfs-kernel-exports";
preStart =