aboutsummaryrefslogtreecommitdiff
path: root/etc/isdn/answer
diff options
context:
space:
mode:
authorHellmuth Michaelis <hm@FreeBSD.org>1999-05-20 10:14:57 +0000
committerHellmuth Michaelis <hm@FreeBSD.org>1999-05-20 10:14:57 +0000
commit80037d6e9e0c1d84a7ffeca4683222d6fada175f (patch)
tree35d0cd5c8d2f384f25ef5338eb17b2e5a6532ec4 /etc/isdn/answer
parent798a0514f5013911c8d1c2916e960a2e18be2484 (diff)
downloadsrc-80037d6e9e0c1d84a7ffeca4683222d6fada175f.tar.gz
src-80037d6e9e0c1d84a7ffeca4683222d6fada175f.zip
upgrade isdn4bsd from version 0.71 to the just released version 0.81
Notes
Notes: svn path=/head/; revision=47338
Diffstat (limited to 'etc/isdn/answer')
-rwxr-xr-xetc/isdn/answer23
1 files changed, 14 insertions, 9 deletions
diff --git a/etc/isdn/answer b/etc/isdn/answer
index b785fc0e2c4f..4a023cb3e71c 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