45233d4087
nfs-server scripts (bz 699040). Signed-off-by: Steve Dickson <steved@redhat.com>
12 lines
192 B
Bash
12 lines
192 B
Bash
#!/bin/bash
|
|
|
|
. /etc/sysconfig/nfs
|
|
|
|
# Set v4 grace period if requested
|
|
if [ -n "$NFSD_V4_GRACE" ]; then
|
|
/sbin/modprobe -q nfsd
|
|
echo "$NFSD_V4_GRACE" > /proc/fs/nfsd/nfsv4gracetime
|
|
fi
|
|
|
|
exit 0
|