5
. /usr/share/debconf/confmodule
9
db_get nfs-kernel-server/tcpwrappers-mountd || true
11
touch /var/lib/nfs/etab \
15
if test -s /etc/exports
19
cat <<EOF >/etc/exports
20
# /etc/exports: the access control list for filesystems which may be exported
21
# to NFS clients. See exports(5).
25
# The old nfs-server's init script can't tell that it's been
26
# removed, so we have to kill the symlinks to it.
27
update-rc.d -f nfs-server remove >/dev/null
29
update-rc.d nfs-kernel-server defaults 20 80 >/dev/null
36
[ "$1:$2" = "configure:" ] && act="start"
37
invoke-rc.d nfs-kernel-server $act