nfs-utils/nfs-server.preconfig
Steve Dickson 45233d4087 Fixed some bugs in the triggerun script as well in the
nfs-server scripts (bz 699040).

Signed-off-by: Steve Dickson <steved@redhat.com>
2011-08-10 17:58:42 -04:00

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