2011-01-03 10:48:06 +00:00
|
|
|
description "Startup NFS Services"
|
|
|
|
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
|
|
|
version 1.0
|
|
|
|
emits none special
|
|
|
|
|
|
|
|
start on (runlevel [2345] and (started rpc))
|
|
|
|
stop on runlevel [016]
|
|
|
|
|
|
|
|
console none
|
|
|
|
|
|
|
|
post-start script
|
2011-08-19 06:46:57 +00:00
|
|
|
/sbin/CheckPid /var/run/rpc.statd.pid
|
2011-01-03 10:48:06 +00:00
|
|
|
/usr/sbin/exportfs -r
|
|
|
|
/usr/sbin/rpc.knfsd 8
|
|
|
|
/usr/sbin/start-statd
|
|
|
|
end script
|
|
|
|
|
|
|
|
exec /usr/sbin/rpc.kmountd -F --nfs-version 3
|
|
|
|
|
|
|
|
post-stop script
|
|
|
|
pkill nfsd
|
|
|
|
/usr/sbin/exportfs -au
|
|
|
|
end script
|