* Start fixing the NFS mess. It was completely broken because the

exportfs job didn't work at all (so /var/lib/nfs/etab didn't get
  initialised).

svn path=/nixos/trunk/; revision=33153
This commit is contained in:
Eelco Dolstra 2012-03-16 13:00:27 +00:00
parent fa73514260
commit d2b3c2cda4

View File

@ -125,7 +125,7 @@ in
'' ''
# exports file is ${exports} # exports file is ${exports}
# keep this comment so that this job is restarted whenever exports changes! # keep this comment so that this job is restarted whenever exports changes!
exportfs -ra ${pkgs.nfsUtils}/sbin/exportfs -ra
''; '';
}; };
} }
@ -193,7 +193,7 @@ in
description = "Kernel NFS server - Network Status Monitor"; description = "Kernel NFS server - Network Status Monitor";
startOn = if (cfg.server.enable) then startOn = if cfg.server.enable then
"started nfs-kernel-mountd and started nfs-kernel-nfsd" "started nfs-kernel-mountd and started nfs-kernel-nfsd"
else else
"started portmap"; "started portmap";