Fixed errors with: export command not found

svn path=/nixos/trunk/; revision=16938
This commit is contained in:
Sander van der Burg 2009-09-02 17:59:46 +00:00
parent 331bee12a4
commit 48f22eb62d

View File

@ -75,9 +75,8 @@ mkIf config.services.nfsKernel.enable {
start on network-interfaces/started
stop on network-interfaces/stop
PATH=${pkgs.nfsUtils}/sbin
start script
export PATH=${pkgs.nfsUtils}/sbin
${modprobe}/sbin/modprobe nfsd || true
exportfs -a
end script
@ -85,6 +84,7 @@ mkIf config.services.nfsKernel.enable {
respawn sleep 1000000
start script
export PATH=${pkgs.nfsUtils}/sbin
exportfs -au
end script
'';