Fixed errors with: export command not found
svn path=/nixos/trunk/; revision=16938
This commit is contained in:
parent
331bee12a4
commit
48f22eb62d
@ -75,9 +75,8 @@ mkIf config.services.nfsKernel.enable {
|
|||||||
start on network-interfaces/started
|
start on network-interfaces/started
|
||||||
stop on network-interfaces/stop
|
stop on network-interfaces/stop
|
||||||
|
|
||||||
PATH=${pkgs.nfsUtils}/sbin
|
|
||||||
|
|
||||||
start script
|
start script
|
||||||
|
export PATH=${pkgs.nfsUtils}/sbin
|
||||||
${modprobe}/sbin/modprobe nfsd || true
|
${modprobe}/sbin/modprobe nfsd || true
|
||||||
exportfs -a
|
exportfs -a
|
||||||
end script
|
end script
|
||||||
@ -85,6 +84,7 @@ mkIf config.services.nfsKernel.enable {
|
|||||||
respawn sleep 1000000
|
respawn sleep 1000000
|
||||||
|
|
||||||
start script
|
start script
|
||||||
|
export PATH=${pkgs.nfsUtils}/sbin
|
||||||
exportfs -au
|
exportfs -au
|
||||||
end script
|
end script
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user