Compare commits
No commits in common. "v962" and "v963" have entirely different histories.
@ -54,7 +54,7 @@ case "$1" in
|
||||
|
||||
restart)
|
||||
$0 stop
|
||||
/bin/sleep 1
|
||||
/usr/bin/sleep 1
|
||||
$0 start
|
||||
;;
|
||||
|
||||
|
@ -11,12 +11,11 @@ console none
|
||||
post-start script
|
||||
/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/rpc.knfsd 0
|
||||
/usr/sbin/exportfs -au
|
||||
end script
|
||||
|
16
etc/init/statd.conf
Normal file
16
etc/init/statd.conf
Normal file
@ -0,0 +1,16 @@
|
||||
description "Startup NFS Services"
|
||||
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
||||
version 1.0
|
||||
emits none special
|
||||
|
||||
start on (started nfs)
|
||||
stop on (stopping nfs)
|
||||
|
||||
|
||||
pre-start script
|
||||
/sbin/CheckPid /var/run/rpc.statd.pid
|
||||
end script
|
||||
|
||||
console none
|
||||
|
||||
exec /usr/sbin/start-statd
|
Loading…
Reference in New Issue
Block a user