Compare commits
No commits in common. "7d8257c6f6cdbe5ea04c86c9ac842148da6d7fdb" and "v963" have entirely different histories.
7d8257c6f6
...
v963
@ -54,7 +54,7 @@ case "$1" in
|
|||||||
|
|
||||||
restart)
|
restart)
|
||||||
$0 stop
|
$0 stop
|
||||||
/bin/sleep 1
|
/usr/bin/sleep 1
|
||||||
$0 start
|
$0 start
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -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
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