#!/bin/bash

. ${TOOLKIT}-functions.sh

$SOMETHING_CHANGED && {
	[ -f /etc/init.d/nfs-common ] && {	# >= 9.04
		restart_service nfs-common rpc.statd || exit $?
	}
	[ -f /etc/init/statd.conf ] && {	# post 9.04
		restart statd || exit $?
	}

	exportfs -rav
	restart_service nfs-kernel-server nfsd || exit $?
}

exit 0
