summaryrefslogtreecommitdiff
path: root/comms/hylafax/patches/patch-ah
blob: 4e05f10ec6caf05e755c81b71da39d40b9a7358e (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
$NetBSD: patch-ah,v 1.4 2001/04/23 15:06:15 abs Exp $

--- etc/faxaddmodem.sh.in.orig	Tue Feb  6 04:54:06 2001
+++ etc/faxaddmodem.sh.in
@@ -46,6 +46,7 @@
 SPOOL=@SPOOL@
 
 SPEED=
+TTY=
 while [ x"$1" != x"" ] ; do
     case $1 in
     -s)	    SPEED=$2; shift;;
@@ -112,10 +113,11 @@
 SVR4UULCKN=$LIBEXEC/lockname	# SVR4 UUCP lock name construction program
 ONDELAY=$LIBEXEC/ondelay	# prgm to open devices blocking on carrier
 CAT="$CAT -u"			# something to do unbuffered reads and writes
-FAX=fax				# identity of the fax user
+FAX=@FAXUID@			# identity of the fax user
+FAXGID=@FAXGID@
 GROUP=/etc/group		# where to go for group entries
 PROTOGID=$FAXGID		# group who's gid we use for FAX user
-defPROTOGID=10			# use this gid if PROTOGID doesn't exist
+defPROTOGID=117			# use this gid if PROTOGID doesn't exist
 MODEMCONFIG=$SPOOL/config	# location of prototype modem config files
 RMCMD="$RM -f"			# forced removal