mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 13:02:58 +02:00
nfs: Fixes for NFS server
Fixes: #11098 Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
198c39265b
commit
54cc2c4e5d
@@ -13,6 +13,10 @@
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
boot_mesg "Mounting nfsd virtual filesystem..."
|
||||
/bin/mount -t nfsd none /proc/fs/nfsd 2>&1 > /dev/null
|
||||
evaluate_retval
|
||||
|
||||
boot_mesg "Starting NFS mountd..."
|
||||
loadproc /usr/sbin/rpc.mountd
|
||||
|
||||
@@ -27,10 +31,6 @@ case "$1" in
|
||||
loadproc /usr/sbin/rpc.rquotad
|
||||
fi
|
||||
|
||||
boot_mesg "Mounting nfsd virtual filesystem..."
|
||||
/bin/mount -t nfsd none /proc/fs/nfsd 2>&1 > /dev/null
|
||||
evaluate_retval
|
||||
|
||||
# Make ceratin that the list is refreshed on
|
||||
# a restart.
|
||||
boot_mesg "Exporting NFS Filesystems..."
|
||||
@@ -43,8 +43,8 @@ case "$1" in
|
||||
killproc /usr/sbin/rpc.statd
|
||||
|
||||
boot_mesg "Stopping NFS nfsd..."
|
||||
# nfsd needs HUP....
|
||||
killproc nfsd HUP
|
||||
/usr/sbin/rpc.nfsd 0
|
||||
evaluate_retval
|
||||
|
||||
boot_mesg "Stopping NFS mountd..."
|
||||
killproc /usr/sbin/rpc.mountd
|
||||
|
||||
Reference in New Issue
Block a user