Compare commits

...

No commits in common. "7d8257c6f6cdbe5ea04c86c9ac842148da6d7fdb" and "v963" have entirely different histories.

3 changed files with 18 additions and 3 deletions

View File

@ -54,7 +54,7 @@ case "$1" in
restart) restart)
$0 stop $0 stop
/bin/sleep 1 /usr/bin/sleep 1
$0 start $0 start
;; ;;

View File

@ -11,12 +11,11 @@ console none
post-start script post-start script
/usr/sbin/exportfs -r /usr/sbin/exportfs -r
/usr/sbin/rpc.knfsd 8 /usr/sbin/rpc.knfsd 8
/usr/sbin/start-statd
end script end script
exec /usr/sbin/rpc.kmountd -F --nfs-version 3 exec /usr/sbin/rpc.kmountd -F --nfs-version 3
post-stop script post-stop script
pkill nfsd /usr/sbin/rpc.knfsd 0
/usr/sbin/exportfs -au /usr/sbin/exportfs -au
end script end script

16
etc/init/statd.conf Normal file
View 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