File: postinst

package info (click to toggle)
nfs-user-server 2.2beta47-23
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,016 kB
  • ctags: 1,435
  • sloc: ansic: 12,067; sh: 652; makefile: 265
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#