File: postinst

package info (click to toggle)
nfs-user-server 2.2beta47-12
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,012 kB
  • ctags: 1,430
  • sloc: ansic: 12,031; sh: 652; makefile: 268
file content (11 lines) | stat: -rw-r--r-- 301 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e
# $Id: postinst,v 1.2 2001/04/14 03:12:56 herbert Exp $

if [ configure = "$1" ] && [ -z "$2" ] && [ ! -e /etc/exports ]; then
	cat << EOF > /etc/exports
# /etc/exports: the access control list for filesystems which may be exported
#		to NFS clients.  See exports(5).
EOF
fi

#DEBHELPER#