summaryrefslogtreecommitdiff
path: root/comms/mgetty+sendfax/INSTALL
blob: c549a1bbfc134d7b4a063fd22f8503a8753c4ea0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
#
# $NetBSD: INSTALL,v 1.4 2003/08/30 20:22:50 jlam Exp $

case ${STAGE} in
POST-INSTALL)
	if [ ! -d /var/spool/fax ]; then
		${ECHO} "Creating fax spool directories..."
		${MKDIR} /var/spool/fax
		${CHMOD} 755 /var/spool/fax
	fi
	if [ ! -d /var/spool/fax/incoming ]; then
		${MKDIR} /var/spool/fax/incoming
		${CHMOD} 755 /var/spool/fax/incoming
	fi
	if [ ! -d /var/spool/fax/outgoing ]; then
		${MKDIR} /var/spool/fax/outgoing
		${CHMOD} 1777 /var/spool/fax/outgoing
	fi
	if [ ! -d /var/spool/fax/outgoing/locks ]; then
		${MKDIR} /var/spool/fax/outgoing/locks
		${CHMOD} 777 /var/spool/fax/outgoing/locks
	fi
	;;
esac