diff options
author | hm <hm@FreeBSD.org> | 1999-05-20 10:14:57 +0000 |
---|---|---|
committer | hm <hm@FreeBSD.org> | 1999-05-20 10:14:57 +0000 |
commit | 2077acfca034178f39e3fa4e86cb8d371f44737c (patch) | |
tree | 730187a2063473cb0d2e7cac998a9a4307285426 /etc/isdn/answer | |
parent | 5ea75aea8a2633cc0acf9dd870c1e1db1abd6a21 (diff) | |
download | FreeBSD-src-2077acfca034178f39e3fa4e86cb8d371f44737c.zip FreeBSD-src-2077acfca034178f39e3fa4e86cb8d371f44737c.tar.gz |
upgrade isdn4bsd from version 0.71 to the just released version 0.81
Diffstat (limited to 'etc/isdn/answer')
-rwxr-xr-x | etc/isdn/answer | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/etc/isdn/answer b/etc/isdn/answer index b785fc0..4a023cb 100755 --- a/etc/isdn/answer +++ b/etc/isdn/answer @@ -4,13 +4,18 @@ # answer script for i4b isdnd # --------------------------- # -# $Id: answer,v 1.3 1998/12/18 17:17:57 hm Exp $ +# $Id: answer,v 1.5 1999/04/23 09:42:05 hm Exp $ # -# last edit-date: [Fri Dec 18 18:05:20 1998] +# last edit-date: [Thu May 20 11:44:38 1999] # #--------------------------------------------------------------------------- VARDIR=/var/isdn -LIBDIR=/usr/local/lib/isdn + +#FreeBSD < 3.1, NetBSD, OpenBSD, BSD/OS +#LIBDIR=/usr/local/lib/isdn +#FreeBSD 3.1 and up +LIBDIR=/usr/share/isdn + LOGFILE=/tmp/answer.log NCALLFILE=$VARDIR/ncall DATE=`date +%d%H` @@ -86,17 +91,17 @@ then echo "To: $DEST" >> $VARDIR/I.$NCALL.$DATE fi -if [ -f $LIBDIR/beep.g711a ] +if [ -f $LIBDIR/beep.al ] then - dd of=$DEVICE if=$LIBDIR/beep.g711a bs=2k # >/dev/null 2>&1 + dd of=$DEVICE if=$LIBDIR/beep.al bs=2k # >/dev/null 2>&1 fi -if [ -f $LIBDIR/msg.g711a ] +if [ -f $LIBDIR/msg.al ] then - dd of=$DEVICE if=$LIBDIR/msg.g711a bs=2k # >/dev/null 2>&1 - if [ -f $LIBDIR/beep.g711a ] + dd of=$DEVICE if=$LIBDIR/msg.al bs=2k # >/dev/null 2>&1 + if [ -f $LIBDIR/beep.al ] then - dd of=$DEVICE if=$LIBDIR/beep.g711a bs=2k # >/dev/null 2>&1 + dd of=$DEVICE if=$LIBDIR/beep.al bs=2k # >/dev/null 2>&1 fi fi |