summaryrefslogtreecommitdiff
path: root/comms/mgetty+sendfax/INSTALL
blob: 46b7b1387ba4acc369bc7160ec2a13245493f91b (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
26
27
#!/bin/sh
#

if [ x"$2" = xPOST-INSTALL ]
then
	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
fi