File: nfs-kernel-server.config

package info (click to toggle)
nfs-utils 1%3A1.0.6-3.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,532 kB
  • ctags: 1,845
  • sloc: ansic: 16,107; sh: 3,129; makefile: 272
file content (15 lines) | stat: -rw-r--r-- 287 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -e

. /usr/share/debconf/confmodule

if grep -s '^/' /etc/exports | grep -vq sync
then
    db_input high nfs-kernel-server/sync-default || true
fi

if fgrep -q 'rpc' /etc/hosts.allow /etc/hosts.deny
then
    db_input high nfs-kernel-server/tcpwrappers-mountd || true
fi

db_go