summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-05-26 10:40:09 +0000
committerbz <bz@FreeBSD.org>2008-05-26 10:40:09 +0000
commit6bba9b42448c966b4d7425ab0ca6f86f26564fb5 (patch)
treece6d26c22aa5ab44c23fab794efd22c6b5bc9c39 /etc
parentcf7fbdd9301f7a93d32de3e79370507fa46278c6 (diff)
downloadFreeBSD-src-6bba9b42448c966b4d7425ab0ca6f86f26564fb5.zip
FreeBSD-src-6bba9b42448c966b4d7425ab0ca6f86f26564fb5.tar.gz
Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE and
parts relied on the now removed NET_NEEDS_GIANT. Most of I4B has been disconnected from the build since July 2007 in HEAD/RELENG_7. This is what was removed: - configuration in /etc/isdn - examples - man pages - kernel configuration - sys/i4b (drivers, layers, include files) - user space tools - i4b support from ppp - further documentation Discussed with: rwatson, re
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile3
-rw-r--r--etc/defaults/rc.conf13
-rw-r--r--etc/isdn/Makefile25
-rwxr-xr-xetc/isdn/answer97
-rw-r--r--etc/isdn/holidays.D51
-rw-r--r--etc/isdn/isdnd.rates.A39
-rw-r--r--etc/isdn/isdnd.rates.D50
-rw-r--r--etc/isdn/isdnd.rates.F152
-rw-r--r--etc/isdn/isdnd.rates.L45
-rw-r--r--etc/isdn/isdnd.rates.UK.BT61
-rw-r--r--etc/isdn/isdnd.rc.sample409
-rw-r--r--etc/isdn/isdntel.alias.sample21
-rwxr-xr-xetc/isdn/isdntel.sh98
-rwxr-xr-xetc/isdn/record99
-rwxr-xr-xetc/isdn/tell87
-rwxr-xr-xetc/isdn/tell-record89
-rwxr-xr-xetc/isdn/unknown_incoming79
-rw-r--r--etc/mtree/BSD.include.dist2
-rw-r--r--etc/mtree/BSD.root.dist2
-rw-r--r--etc/mtree/BSD.usr.dist10
-rwxr-xr-xetc/netstart1
-rwxr-xr-xetc/rc.d/Makefile2
-rw-r--r--etc/rc.d/NETWORKING2
-rw-r--r--etc/rc.d/isdnd56
-rw-r--r--etc/rc.d/ppp2
25 files changed, 5 insertions, 1490 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 2483814..29e72aa 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -127,9 +127,6 @@ distribution:
${BSM_ETC_RESTRICTED_FILES} ${BSM_ETC_DIR}
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 0500 \
${BSM_ETC_EXEC_FILES} ${BSM_ETC_DIR}
-.if ${MK_I4B} != "no"
- ${_+_}cd ${.CURDIR}/isdn; ${MAKE} install
-.endif
.if ${MK_BIND_MTREE} != "no"
@if [ ! -e ${DESTDIR}/etc/namedb ]; then \
set -x; \
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 3d03b04..177f4d5 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -194,8 +194,8 @@ ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration.
# If you have any sppp(4) interfaces above, you might also want to set
# the following parameters. Refer to spppcontrol(8) for their meaning.
sppp_interfaces="" # List of sppp interfaces.
-#sppp_interfaces="isp0" # example: sppp over ISDN
-#spppconfig_isp0="authproto=chap myauthname=foo myauthsecret='top secret' hisauthname=some-gw hisauthsecret='another secret'"
+#sppp_interfaces="...0" # example: sppp over ...
+#spppconfig_...0="authproto=chap myauthname=foo myauthsecret='top secret' hisauthname=some-gw hisauthsecret='another secret'"
gif_interfaces="" # List of GIF tunnels.
#gif_interfaces="gif0 gif1" # Examples typically for a router.
# Choose correct tunnel addrs.
@@ -363,15 +363,6 @@ atm_enable="NO" # Configure ATM interfaces (or NO).
atm_pvcs="" # Set to PVC list (or leave empty).
atm_arps="" # Set to permanent ARP list (or leave empty).
-### ISDN interface options: (see also: /usr/share/examples/isdn) ###
-isdn_enable="NO" # Enable the ISDN subsystem (or NO).
-isdn_fsdev="NO" # Output device for fullscreen mode (or NO for daemon mode).
-isdn_flags="-dn -d0x1f9" # Flags for isdnd
-isdn_ttype="cons25" # terminal type for fullscreen mode
-isdn_screenflags="NO" # screenflags for ${isdn_fsdev}
-isdn_trace="NO" # Enable the ISDN trace subsystem (or NO).
-isdn_traceflags="-f /var/tmp/isdntrace0" # Flags for isdntrace
-
### Bluetooth ###
hcsecd_enable="NO" # Enable hcsecd(8) (or NO)
hcsecd_config="/etc/bluetooth/hcsecd.conf" # hcsecd(8) configuration file
diff --git a/etc/isdn/Makefile b/etc/isdn/Makefile
deleted file mode 100644
index 0f27b50..0000000
--- a/etc/isdn/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-# $FreeBSD$
-
-NO_OBJ=
-
-SCRIPTS= answer \
- isdntel.sh \
- record \
- tell \
- tell-record \
- unknown_incoming
-
-FILES= holidays.D \
- isdnd.rates.A \
- isdnd.rates.D \
- isdnd.rates.F \
- isdnd.rates.L \
- isdnd.rates.UK.BT \
- isdnd.rc.sample \
- isdntel.alias.sample
-
-BINDIR= /etc/isdn
-BINMODE= 700
-FILESMODE= 600
-
-.include <bsd.prog.mk>
diff --git a/etc/isdn/answer b/etc/isdn/answer
deleted file mode 100755
index d39a983..0000000
--- a/etc/isdn/answer
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-#---------------------------------------------------------------------------
-#
-# answer script for i4b isdnd
-# ---------------------------
-#
-# $FreeBSD$
-#
-# last edit-date: [Thu May 20 11:44:38 1999]
-#
-#---------------------------------------------------------------------------
-VARDIR=/var/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`
-DF=0
-dF=0
-sF=0
-
-if ! set -- `getopt D:d:s: $*`; then
- echo 'Usage: answer -D device -d destination -s source'
- exit 1
-fi
-
-for i ; do
- case ${i} in
- -D)
- DEVICE=$2
- DF=1
- shift
- shift
- ;;
- -d)
- DEST=$2
- dF=1
- shift
- shift
- ;;
- -s)
- SRC=$2
- sF=1
- shift
- shift
- ;;
- --)
- shift
- break
- ;;
- esac
-done
-
-echo "" >>${LOGFILE}
-
-if [ "${DF}" -eq 0 -o "${dF}" -eq 0 -o "${sF}" -eq 0 ]; then
- echo 'Usage: answer -D device -d destination -s source'
- exit 1
-fi
-
-echo "answer: device ${DEVICE} destination ${DEST} source ${SRC} " >>${LOGFILE}
-
-if [ -r "${NCALLFILE}" ]; then
- NCALL=`cat ${NCALLFILE}`
-else
- NCALL=0
-fi
-
-NCALL=`printf "%.4d" ${NCALL}`
-
-echo Date: `date` >> ${VARDIR}/I.${NCALL}.${DATE}
-
-if [ -n "${SRC}" ]; then
- echo "From: ${SRC}" >> ${VARDIR}/I.${NCALL}.${DATE}
-fi
-
-if [ -n "${DEST}" ]; then
- echo "To: ${DEST}" >> ${VARDIR}/I.${NCALL}.${DATE}
-fi
-
-if [ -r "${LIBDIR}/beep.al" ]; then
- dd of=${DEVICE} if=${LIBDIR}/beep.al bs=2k # >/dev/null 2>&1
-fi
-
-if [ -r "${LIBDIR}/msg.al" ]; then
- dd of=${DEVICE} if=${LIBDIR}/msg.al bs=2k # >/dev/null 2>&1
- if [ -r "${LIBDIR}/beep.al" ]
- then
- dd of=${DEVICE} if=${LIBDIR}/beep.al bs=2k # >/dev/null 2>&1
- fi
-fi
-
-echo `expr ${NCALL} + 1` >${NCALLFILE}
diff --git a/etc/isdn/holidays.D b/etc/isdn/holidays.D
deleted file mode 100644
index 80b7259..0000000
--- a/etc/isdn/holidays.D
+++ /dev/null
@@ -1,51 +0,0 @@
-#---------------------------------------------------------------------------
-#
-# german national holidays 2002/2003/2004
-# bundeseinheitliche Feiertage 2002/2003/2004
-# -------------------------------------------------------------
-#
-# last edit-date: [Sat Apr 13 14:22:43 2002]
-#
-# got from: http://www.ferienkalender.com/
-#
-# This file is only of value for installations which are
-# using the german Telekom "T-ISDN XXL" tariff where calls
-# on sundays and holidays are free of charge. Additional
-# configuration of /etc/isdnd.rc has to take place to enable
-# support for this tariff, see output of "man isdnd.rc" and
-# search for keyword "valid".
-#
-# $FreeBSD$
-#
-#---------------------------------------------------------------------------
-#
-# same day/month each year
-#
-1.1 Neujahr
-1.5 Tag der Arbeit
-3.10 Tag der deutschen Einheit
-25.12 1. Weihnachtsfeiertag
-26.12 2. Weihnachtsfeiertag
-#
-# 2002 - different day/month each year
-#
-29.3.2002 Karfreitag
-1.4.2002 Ostermontag
-9.5.2002 Christi Himmelfahrt
-20.5.2002 Pfingstmontag
-#
-# 2003 - different day/month each year
-#
-18.4.2003 Karfreitag
-21.4.2003 Ostermontag
-29.5.2003 Christi Himmelfahrt
-9.6.2003 Pfingstmontag
-#
-# 2004 - different day/month each year
-#
-9.4.2004 Karfreitag
-12.4.2004 Ostermontag
-20.5.2004 Christi Himmelfahrt
-31.5.2004 Pfingstmontag
-#
-# EOF
diff --git a/etc/isdn/isdnd.rates.A b/etc/isdn/isdnd.rates.A
deleted file mode 100644
index fa25b22..0000000
--- a/etc/isdn/isdnd.rates.A
+++ /dev/null
@@ -1,39 +0,0 @@
-#---------------------------------------------------------------------------
-#
-# i4b - PTA Telekom charging rates config file
-# --------------------------------------------
-#
-# $Id: isdnd.rates.A,v 1.2 1999/12/13 21:25:24 hm Exp $
-#
-# $FreeBSD$
-#
-# last edit-date: [Mon Dec 13 21:42:02 1999]
-#
-# -mr updated to reflect last Telekom changes as of 1.9.99
-#
-#---------------------------------------------------------------------------
-#
-# reference: http://www.pta.at/
-#
-#---------------------------------------------------------------------------
-#
-# Syntax:
-# -------
-# rate-code: ra0 = Online Tarif
-# Day-No: 0-6, where 0 = Sunday, 1 = Monday, etc.
-# Rate: start_hour.minutes-end_hour.minutes:period in seconds
-#
-#------------------------------------------------------------------------------
-#
-#=================== Online ==================================
-#
-#rate-code Day rate1 rate2 rate3
-#--------- --- --------------- --------------- ---------------
-ra0 0 00.00-24.00:360
-ra0 1 00.00-08.00:360 08.00-18.00:120 18.00-24.00:360
-ra0 2 00.00-08.00:360 08.00-18.00:120 18.00-24.00:360
-ra0 3 00.00-08.00:360 08.00-18.00:120 18.00-24.00:360
-ra0 4 00.00-08.00:360 08.00-18.00:120 18.00-24.00:360
-ra0 5 00.00-08.00:360 08.00-18.00:120 18.00-24.00:360
-ra0 6 00.00-24.00:360
-#================== EOF ======================================
diff --git a/etc/isdn/isdnd.rates.D b/etc/isdn/isdnd.rates.D
deleted file mode 100644
index 388770e..0000000
--- a/etc/isdn/isdnd.rates.D
+++ /dev/null
@@ -1,50 +0,0 @@
-#---------------------------------------------------------------------------
-#
-# i4b - Deutsche Telekom charging rates config file
-# -------------------------------------------------
-#
-# $FreeBSD$
-#
-# last edit-date: [Sun Jan 17 18:38:29 1999]
-#
-# -hm updated to reflect last Telekom changes as of 1.1.99
-#
-#---------------------------------------------------------------------------
-#
-# reference: http://www.telekom.de/untern/tarife/inland/index.htm
-#
-#---------------------------------------------------------------------------
-#
-# Syntax:
-# -------
-# rate-code: ra0 = City, ra1 = Deutschland
-# Day-No: 0-6, where 0 = Sunday, 1 = Monday, etc.
-# Rate: start_hour.minutes-end_hour.minutes:period in seconds
-#
-#------------------------------------------------------------------------------
-#
-#=================== T-ISDN City =============================================================
-#
-#rate-code Day rate1 rate2 rate3 rate4 rate5
-#--------- --- --------------- --------------- --------------- --------------- ---------------
-ra0 0 00.00-05.00:240 05.00-21.00:150 21.00-24.00:240
-ra0 1 00.00-05.00:240 05.00-09.00:150 09.00-18.00:90 18.00-21.00:150 21.00-24.00:240
-ra0 2 00.00-05.00:240 05.00-09.00:150 09.00-18.00:90 18.00-21.00:150 21.00-24.00:240
-ra0 3 00.00-05.00:240 05.00-09.00:150 09.00-18.00:90 18.00-21.00:150 21.00-24.00:240
-ra0 4 00.00-05.00:240 05.00-09.00:150 09.00-18.00:90 18.00-21.00:150 21.00-24.00:240
-ra0 5 00.00-05.00:240 05.00-09.00:150 09.00-18.00:90 18.00-21.00:150 21.00-24.00:240
-ra0 6 00.00-05.00:240 05.00-21.00:150 21.00-24.00:240
-#
-#=================== T-ISDN Deutschland ======================================================
-#
-#rate-code Day rate1 rate2 rate3 rate4 rate5
-#--------- --- --------------- --------------- --------------- --------------- ---------------
-ra1 0 00.00-24.00:60
-ra1 1 00.00-02.00:60 02.00-05.00:120 05.00-09.00:60 09.00-18.00:30 18.00-24.00:60
-ra1 2 00.00-02.00:60 02.00-05.00:120 05.00-09.00:60 09.00-18.00:30 18.00-24.00:60
-ra1 3 00.00-02.00:60 02.00-05.00:120 05.00-09.00:60 09.00-18.00:30 18.00-24.00:60
-ra1 4 00.00-02.00:60 02.00-05.00:120 05.00-09.00:60 09.00-18.00:30 18.00-24.00:60
-ra1 5 00.00-02.00:60 02.00-05.00:120 05.00-09.00:60 09.00-18.00:30 18.00-24.00:60
-ra1 6 00.00-24.00:60
-#
-#================== EOF ======================================================================
diff --git a/etc/isdn/isdnd.rates.F b/etc/isdn/isdnd.rates.F
deleted file mode 100644
index 6a73b75..0000000
--- a/etc/isdn/isdnd.rates.F
+++ /dev/null
@@ -1,152 +0,0 @@
-#---------------------------------------------------------------------------
-#
-# i4b - Tarifs France Telecom
-# ---------------------------
-#
-# $FreeBSD$
-#
-# last edit-date: [Thu Mar 19 20:05:18 1998]
-#
-# -hm got from Aurelien Bargy <dj@dial.oleane.com>
-#
-#---------------------------------------------------------------------------
-#
-# a jour au 1.10.97
-# Aurelien Bargy - 18.03.97
-#
-# I wrote a rates file for France. It is rather approximative
-# because some time ago France Telecom decided to abandon the charging
-# units system. The problem is, on ISDN lines charging units are still
-# used for the aocd system, even as it gives a completely false price
-# for a communication, so "abandoning" the msg_charging_unit system for
-# French users of i4b is not a good idea :))
-#
-#---------------------------------------------------------------------------
-#
-# Syntax:
-# -------
-# rate-code: ra0 = local ; ra1 = zone 1 ; ra2 = zone 2...
-# plus quelques tarifs internationaux
-# Day-No: 0-6, where 0 = Sunday, 1 = Monday, etc.
-# Rate: start_hour.minutes-end_hour.minutes:period in seconds
-#
-#------------------------------------------------------------------------
-#
-#========================== Communications locales ======================
-#rate-code Day rate1 rate2 rate3
-#--------- --- --------------- --------------- ---------------
-ra0 0 00.00-24.00:317
-ra0 1 00.00-08.00:317 08.00-19.00:158 19.00-24.00:317
-ra0 2 00.00-08.00:317 08.00-19.00:158 19.00-24.00:317
-ra0 3 00.00-08.00:317 08.00-19.00:158 19.00-24.00:317
-ra0 4 00.00-08.00:317 08.00-19.00:158 19.00-24.00:317
-ra0 5 00.00-08.00:317 08.00-19.00:158 19.00-24.00:317
-ra0 6 00.00-08.00:317 08.00-12.00:158 12.00-24.00:317
-#
-#
-#
-#================== Zone 1 : < 25 km ==================================
-#
-#rate-code Day rate1 rate2 rate3
-#--------- --- --------------- --------------- ---------------
-ra1 0 00.00-24.00:222
-ra1 1 00.00-08.00:222 08.00-19.00:111 19.00-24.00:222
-ra1 2 00.00-08.00:222 08.00-19.00:111 19.00-24.00:222
-ra1 3 00.00-08.00:222 08.00-19.00:111 19.00-24.00:222
-ra1 4 00.00-08.00:222 08.00-19.00:111 19.00-24.00:222
-ra1 5 00.00-08.00:222 08.00-19.00:111 19.00-24.00:222
-ra1 6 00.00-08.00:222 08.00-12.00:111 12.00-24.00:222
-#
-#
-#
-#================== Zone 2 : 25-30 km =================================
-#
-#rate-code Day rate1 rate2 rate3
-#--------- --- --------------- --------------- --------------
-ra2 0 00.00-24.00:148
-ra2 1 00.00-08.00:148 08.00-19.00:74 19.00-24.00:148
-ra2 2 00.00-08.00:148 08.00-19.00:74 19.00-24.00:148
-ra2 3 00.00-08.00:148 08.00-19.00:74 19.00-24.00:148
-ra2 4 00.00-08.00:148 08.00-19.00:74 19.00-24.00:148
-ra2 5 00.00-08.00:148 08.00-19.00:74 19.00-24.00:148
-ra2 6 00.00-08.00:148 08.00-12.00:74 12.00-24.00:148
-#
-#=================== Zone 3 : 30-52 km ================================
-#
-#rate-code day rate1 rate2 rate3
-#--------- --- --------------- --------------- ---------------
-ra3 0 00.00-24.00:94
-ra3 1 00.00-08.00:94 08.00-19.00:47 19.00-24.00:94
-ra3 2 00.00-08.00:94 08.00-19.00:47 19.00-24.00:94
-ra3 3 00.00-08.00:94 08.00-19.00:47 19.00-24.00:94
-ra3 4 00.00-08.00:94 08.00-19.00:47 19.00-24.00:94
-ra3 5 00.00-08.00:94 08.00-19.00:47 19.00-24.00:94
-ra3 6 00.00-08.00:94 08.00-12.00:47 12.00-24.00:94
-#
-#
-#=================== Zone 4 : > 52 km =================================
-#
-#rate-code day rate1 rate2 rate3
-#--------- --- --------------- --------------- ---------------
-ra4 0 00.00-24.00:78
-ra4 1 00.00-08.00:78 08.00-19.00:39 19.00-24.00:78
-ra4 2 00.00-08.00:78 08.00-19.00:39 19.00-24.00:78
-ra4 3 00.00-08.00:78 08.00-19.00:39 19.00-24.00:78
-ra4 4 00.00-08.00:78 08.00-19.00:39 19.00-24.00:78
-ra4 5 00.00-08.00:78 08.00-19.00:39 19.00-24.00:78
-ra4 6 00.00-08.00:78 08.00-12.00:39 12.00-24.00:78
-#
-#
-#=================== INTERNATIONAL : Allemagne ========================
-# (pour appeler Hellmuth)
-#
-#rate-code day rate1 rate2 rate3
-#--------- --- --------------- --------------- ---------------
-ra5 0 00.00-24.00:27
-ra5 1 00.00-08.00:27 08.00-19.00:21 19.00-24.00:27
-ra5 2 00.00-08.00:27 08.00-19.00:21 19.00-24.00:27
-ra5 3 00.00-08.00:27 08.00-19.00:21 19.00-24.00:27
-ra5 4 00.00-08.00:27 08.00-19.00:21 19.00-24.00:27
-ra5 5 00.00-08.00:27 08.00-19.00:21 19.00-24.00:27
-ra5 6 00.00-08.00:27 08.00-12.00:21 12.00-24.00:27
-#
-#
-#=================== INTERNATIONAL : Pays-Bas ==========================
-#
-#rate-code day rate1 rate2 rate3
-#--------- --- --------------- --------------- ---------------
-ra6 0 00.00-24.00:25
-ra6 1 00.00-08.00:25 08.00-19.00:20 19.00-24.00:25
-ra6 2 00.00-08.00:25 08.00-19.00:20 19.00-24.00:25
-ra6 3 00.00-08.00:25 08.00-19.00:20 19.00-24.00:25
-ra6 4 00.00-08.00:25 08.00-19.00:20 19.00-24.00:25
-ra6 5 00.00-08.00:25 08.00-19.00:20 19.00-24.00:25
-ra6 6 00.00-08.00:25 08.00-12.00:20 12.00-24.00:25
-#
-#
-#=================== INTERNATIONAL : Portugal ===========================
-#
-#rate-code day rate1 rate2 rate3
-#--------- --- --------------- --------------- ---------------
-ra7 0 00.00-24.00:22
-ra7 1 00.00-08.00:22 08.00-19.00:18 19.00-24.00:22
-ra7 2 00.00-08.00:22 08.00-19.00:18 19.00-24.00:22
-ra7 3 00.00-08.00:22 08.00-19.00:18 19.00-24.00:22
-ra7 4 00.00-08.00:22 08.00-19.00:18 19.00-24.00:22
-ra7 5 00.00-08.00:22 08.00-19.00:18 19.00-24.00:22
-ra7 6 00.00-08.00:22 08.00-12.00:18 12.00-24.00:22
-#
-#
-#=================== INTERNATIONAL : USA/Canada ========================
-#
-#rate-code day rate1 rate2 rate3
-#--------- --- --------------- --------------- ---------------
-ra8 0 00.00-24.00:25
-ra8 1 00.00-13.00:25 13.00-19.00:20 19.00-24.00:25
-ra8 2 00.00-13.00:25 13.00-19.00:20 19.00-24.00:25
-ra8 3 00.00-13.00:25 13.00-19.00:20 19.00-24.00:25
-ra8 4 00.00-13.00:25 13.00-19.00:20 19.00-24.00:25
-ra8 5 00.00-13.00:25 13.00-19.00:20 19.00-24.00:25
-ra8 6 00.00-24.00:25
-#
-#================== EOF ==============================================
diff --git a/etc/isdn/isdnd.rates.L b/etc/isdn/isdnd.rates.L
deleted file mode 100644
index d3992b0..0000000
--- a/etc/isdn/isdnd.rates.L
+++ /dev/null
@@ -1,45 +0,0 @@
-#---------------------------------------------------------------------------
-#
-# i4b - Luxembourg PT charging rates config file
-# -------------------------------------------------
-#
-# $Id: isdnd.rates.L,v 1.2 1999/12/13 21:25:24 hm Exp $
-#
-# $FreeBSD$
-#
-# last edit-date: [Mon Dec 13 21:42:33 1999]
-#
-# Sent in by Joakim Hernberg, Digital Design Luxembourg sarl, jbh@ddl.lu
-#
-#---------------------------------------------------------------------------
-#
-# reference: http://www.pt.lu
-#
-#---------------------------------------------------------------------------
-#
-# Syntax:
-# -------
-# rate-code: ra0 = Luxembourg normal isdn call
-# rate-code: ra1 = Luxembourg PT Internet access
-# Day-No: 0-6, where 0 = Sunday, 1 = Monday, etc.
-# Rate: start_hour.minutes-end_hour.minutes:period in seconds
-#
-#------------------------------------------------------------------------------
-#
-#rate-code Day rate1 rate2 rate3 rate4 rate5
-#--------- --- --------------- --------------- --------------- --------------- ----------------
-ra0 0 00.00-24.00:960
-ra0 1 00.00-06.00:960 06.00-08.00:480 08.00-19.00:240 19.00-23.00:480 23.00-24.00:960
-ra0 2 00.00-06.00:960 06.00-08.00:480 08.00-19.00:240 19.00-23.00:480 23.00-24.00:960
-ra0 3 00.00-06.00:960 06.00-08.00:480 08.00-19.00:240 19.00-23.00:480 23.00-24.00:960
-ra0 4 00.00-06.00:960 06.00-08.00:480 08.00-19.00:240 19.00-23.00:480 23.00-24.00:960
-ra0 5 00.00-06.00:960 06.00-08.00:480 08.00-19.00:240 19.00-23.00:480 23.00-24.00:960
-ra0 6 00.00-06.00:960 06.00-23.00:480 23.00-24.00:960
-
-ra1 0 00.00-24.00:60
-ra1 1 00.00-24.00:60
-ra1 2 00.00-24.00:60
-ra1 3 00.00-24.00:60
-ra1 4 00.00-24.00:60
-ra1 5 00.00-24.00:60
-ra1 6 00.00-24.00:60
diff --git a/etc/isdn/isdnd.rates.UK.BT b/etc/isdn/isdnd.rates.UK.BT
deleted file mode 100644
index c4d34ec..0000000
--- a/etc/isdn/isdnd.rates.UK.BT
+++ /dev/null
@@ -1,61 +0,0 @@
-#---------------------------------------------------------------------------
-#
-# i4b - BT charges
-# -------------------------------------------------
-#
-# $FreeBSD$
-#
-# Barry A. Scott barry@scottb.demon.co.uk
-#
-#---------------------------------------------------------------------------
-#
-# reference: http://www.bt.com/Business/price_frm.htm
-# (I use the bussiness figures as the Ex VAT gives more
-# accurate rate data because BT round the Inc VAT figures)
-#
-#---------------------------------------------------------------------------
-#
-# Syntax:
-# -------
-# rate-code: ra0 = Local, ra1 = Regional, ra2 = National
-# Day-No: 0-6, where 0 = Sunday, 1 = Monday, etc.
-# Rate: start_hour.minutes-end_hour.minutes:period in seconds
-#
-#------------------------------------------------------------------------------
-#
-#=================== Local =========================================================================
-#
-#rate-code Day rate1 rate2 rate1
-#--------- --- --------------- --------------- ---------------
-ra0 0 00.00-24.00:296
-ra0 1 00.00-08.00:200 08.00-18.00:75 18.00-00.00:200
-ra0 2 00.00-08.00:200 08.00-18.00:75 18.00-00.00:200
-ra0 3 00.00-08.00:200 08.00-18.00:75 18.00-00.00:200
-ra0 4 00.00-08.00:200 08.00-18.00:75 18.00-00.00:200
-ra0 5 00.00-08.00:200 08.00-18.00:75 18.00-00.00:200
-ra0 6 00.00-24.00:296
-#
-#=================== Regional =========================================================================
-#
-#rate-code Day rate1 rate2 rate1
-#--------- --- --------------- --------------- ---------------
-ra1 0 00.00-24.00:100
-ra1 1 00.00-08.00:75 08.00-18.00:37 18.00-00.00:75
-ra1 2 00.00-08.00:75 08.00-18.00:37 18.00-00.00:75
-ra1 3 00.00-08.00:75 08.00-18.00:37 18.00-00.00:75
-ra1 4 00.00-08.00:75 08.00-18.00:37 18.00-00.00:75
-ra1 5 00.00-08.00:75 08.00-18.00:37 18.00-00.00:75
-ra1 6 00.00-24.00:100
-#
-#=================== National =========================================================================
-#
-#rate-code Day rate1 rate2 rate1
-#--------- --- --------------- --------------- ---------------
-ra2 0 00.00-24.00:100
-ra2 1 00.00-08.00:71 08.00-18.00:37 18.00-00.00:71
-ra2 2 00.00-08.00:71 08.00-18.00:37 18.00-00.00:71
-ra2 3 00.00-08.00:71 08.00-18.00:37 18.00-00.00:71
-ra2 4 00.00-08.00:71 08.00-18.00:37 18.00-00.00:71
-ra2 5 00.00-08.00:71 08.00-18.00:37 18.00-00.00:71
-ra2 6 00.00-24.00:100
-#================== EOF ============================================================================================================
diff --git a/etc/isdn/isdnd.rc.sample b/etc/isdn/isdnd.rc.sample
deleted file mode 100644
index 3878e7c..0000000
--- a/etc/isdn/isdnd.rc.sample
+++ /dev/null
@@ -1,409 +0,0 @@
-#------------------------------------------------------------------------------
-#
-# example of a configuration file for the isdn daemon
-# ---------------------------------------------------
-#
-# $FreeBSD$
-#
-# last edit-date: [Sun May 27 09:33:59 2001]
-#
-# NOTICE:
-# =======
-# This configuration file is an EXAMPLE only and MUST be edited
-# carefully to get the desired results!
-#
-# Please read the "isdnd.rc" manual page (execute "man isdnd.rc")
-# for reference !
-#
-#------------------------------------------------------------------------------
-
-#==============================================================================
-# SYSTEM section: isdnd global configuration parameters
-#==============================================================================
-system
-
-# accounting
-# ----------
-
-acctall = on # generate info for everything
-acctfile = /var/log/isdnd.acct # name & location of accounting file
-useacctfile = yes # generate accouting info to file
-
-# monitor
-# -------
-
-monitor-allowed = no # global switch: monitor on/off
-monitor-port = 451 # default monitor TCP port
-
-# Monitor rights are granted due to the most specific host/net spec, i.e. in
-# the example below host 192.168.1.2 will have the rights specified on that
-# line, even so it belongs to net 192.168.1.0/24 as well.
-#
-# A monitor specification may either be:
-#
-# - the name of a local (UNIX-domain) socket; this MUST start with a "/"
-monitor = "/var/run/isdn-monitor"
-monitor-access = fullcmd
-monitor-access = channelstate, logevents
-monitor-access = callin, callout
-#
-# - a dotted-quad host spec
-monitor = "192.168.1.2"
-monitor-access = restrictedcmd, channelstate, callin, callout
-#
-# - a dotted-quad net spec with "/len" (CIDR-style) netmask spec
-monitor = "192.168.1.0/24"
-monitor-access = restrictedcmd, channelstate, callin, callout
-#
-# - a resolveable host name
-monitor = "rumolt"
-monitor-access = restrictedcmd, channelstate, callin, callout
-#
-# - a resolveable net name with "/len" netmask (s.a.) appended
-monitor = "up-vision-net/24"
-monitor-access = restrictedcmd, channelstate, callin, callout
-
-# ratesfile
-# ---------
-
-ratesfile = /etc/isdn/isdnd.rates # name & location of rates file
-
-# regular expression pattern matching
-# -----------------------------------
-
-#regexpr = "connected.*XXX" # look for matches in log messages
-#regprog = connectXXX # execute program when match is found
-
-regexpr = "<unknown> incoming call from"
-regprog = unknown_incoming # execute program whan match is found
-
-# realtime priority section
-# -------------------------
-
-rtprio = 25 # modify isdnd's process priority
-
-#===========================================================================
-# controller section
-#===========================================================================
-controller
-
-firmware = /etc/isdn/b1.t4 # microcode for an AVM B1 controller
-
-#==============================================================================
-# entry section: IP over ISDN example - i call back the remote end
-#==============================================================================
-entry
-
-name = I4BIP # name for reference. This name will
- # be used in the logfile to identfy
- # this entry.
-
- # the network or telephone device
- # the data traffic should be routed to:
-usrdevicename = ipr # ipr, isp, tel, rbch
-usrdeviceunit = 0 # unit number
-
- # the ISDN controller number to be
- # used for this entry:
-isdncontroller = 0 # controller to use or -1 to use any
-isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any
-
- # incoming only, outgoing only or both:
-direction = inout # in, out, inout
-
- # numbers used to verify a DIAL IN:
-local-phone-incoming = 321 # this is my number
-remote-phone-incoming = 0123456789 # this one can call in
-
- # numbers used at DIAL OUT time:
-local-phone-dialout = 321 # this is my number
-remote-phone-dialout = 00123456789 # i call this remote number
-
- # in case i have several remote
- # telephone numbers specified, this
- # is used to specify which one is
- # used next on dial fail or retry:
-remdial-handling = first # first, last or next
-
- # what happenes if someone dials in:
-dialin-reaction = callback # accept, reject, ignore, answer, callback
-
- # normal dialout or do i call back:
-dialout-type = normal # normal / calledback
-
-callbackwait = 1 # no of secs to wait before calling back
-
- # type of protocol on the B-channel:
- # hdlc must be specified for IP (the
- # ipr and isp drivers), raw must be
- # specified for telephone answering
-b1protocol = hdlc # hdlc, raw
-
- # shorthold mode and idle time
- # configuration:
-ratetype = 0 # ratesfile entry to use
-unitlength = 90 # unitlength to assume
-unitlengthsrc = rate # none, rate, cmdl, conf, aocd
-idletime-incoming = 120 # incoming call idle timeout
-idletime-outgoing = 60 # outgoing call idle timeout
-earlyhangup = 5 # time to hangup before an expected
- # next charging unit will occur
-
- # retry and recovery parameters
-dialretries = 3 # # of dial retries
-dialrandincr = off # random dial increment time
-recoverytime = 5 # time to wait between 2 dial tries
-usedown = off # set i/f down
-downtries = 5 # retry cycles before set down
-downtime = 30 # time to be in down before going up
-
-#connectprog = "ip-up" # run /etc/isdn/ip-up when an interface
- # has established its network connection.
- # example parameters are:
- # /etc/isdn/ip-up -d isp0 -f up -a 192.110.12.14
-#disconnectprog = "ip-down" # like connectprog, but run after the connection
- # is closed (ISDN layer down). The actual
- # interface address might not be known
- # any more. example parameters are:
- # /etc/isdn/ip-up -d isp0 -f down -a 0.0.0.0
-
-#==============================================================================
-# entry section: IP over ISDN example - i am called back by the remote end
-#==============================================================================
-entry
-
-name = I4BIP1 # name for reference
-
-usrdevicename = ipr # ipr, tel, rbch
-usrdeviceunit = 1 # unit number
-
-isdncontroller = 0 # controller to use or -1 to use any
-isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any
-
- # numbers used to DIAL OUT
-remote-phone-dialout = 00401234567 # remote number to dial
-local-phone-dialout = 38 # our number to tell remote
-
- # numbers used to verify at DIAL IN
-local-phone-incoming = 38 # we take calls for this local number
-remote-phone-incoming = 00401234567 # we take calls from this remote machine
-
-b1protocol = hdlc # hdlc, raw
-
-ratetype = 0 # city
-unitlength = 90 # default unit length
-earlyhangup = 5 # safety zone
-unitlengthsrc = aocd # none, rate, cmdl, conf, aocd
-
-dialin-reaction = accept # accept, reject, ignore, anwer, callback
-
-dialout-type = calledback # normal or calledback
-
-dialretries = 3
-recoverytime = 3
-calledbackwait = 20
-dialrandincr = off
-
-usedown = off
-downtries = 2
-downtime = 30
-
-idletime-incoming = 300
-idletime-outgoing = 30
-
-#==============================================================================
-# entry section: answering machine example
-#==============================================================================
-entry
-
-name = I4BTEL # name for reference
-usrdevicename = tel # ipr, tel, rbch
-usrdeviceunit = 0 # unit number
-
-isdncontroller = 0 # controller to use or -1 to use any
-isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any
-
- # numbers used to verify at DIAL IN
-local-phone-incoming = 456 # this is my number
-remote-phone-incoming = * # anyone can call in
-
-dialin-reaction = answer # accept, reject, ignore, answer
-
-answerprog = answer # program to run
-
-b1protocol = raw # hdlc, raw
-
-idletime-incoming = 5 # 5 seconds idle timeout
-
-#==============================================================================
-# kernel PPP (with budget handling) - Sunday & Holidays, we call back
-#==============================================================================
-entry
-
-valid = "0,7" # sundays & holidays
-
-name = KPPPs # name for reference
-
-usrdevicename = isp # ipr, tel, rbch
-usrdeviceunit = 0 # unit number
-
-isdncontroller = 1 # controller to use or -1 to use any
-isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any
-
- # numbers used to verify at DIAL IN
-local-phone-incoming = 29 # this is my number
-remote-phone-incoming = 00401234567 # this one can call in
-
- # numbers used to DIAL OUT
-local-phone-dialout = 29 # this is my number
-remote-phone-dialout = 00401234567 # i call this number
-
-remdial-handling = first # first, last or next
-
-dialin-reaction = callback # accept, reject, ignore, answer, callback
-
-dialout-type = normal # normal / calledback
-
-b1protocol = hdlc # hdlc, raw
-
-idletime-incoming = 30 # incoming call idle timeout
-idletime-outgoing = 120 # outgoing call idle timeout
-
-unitlength = 360 # unitlength to assume
-unitlengthsrc = conf # none, rate, cmdl, conf, aocd
-
-dialretries = 5 # # of dial retries
-dialrandincr = on # random dial increment time
-recoverytime = 3 # time to wait between 2 dial tries
-
-callbackwait = 5 # time to wait to call back
-
-usedown = off # set i/f down
-downtries = 5 # retry cycles before set down
-downtime = 60 # time to be in down before going up
-
-budget-callbackperiod = 10800 # 3 hours
-budget-callbackncalls = 1000 # 2 callbacks in 3 hours
-budget-callbacksfile = /var/log/isdn/callbacks.isp0
-budget-callbacksfile-rotate = yes
-
-budget-calloutperiod = 3600 # 1 hour
-budget-calloutncalls = 1000 # 3 calls in 1 hour
-budget-calloutsfile = /var/log/isdn/callouts.isp0
-budget-calloutsfile-rotate = yes
-
-#==============================================================================
-# kernel PPP (with budget handling) - Monday-Saturday, 9:00-18:00: we call back
-#==============================================================================
-entry
-
-valid = "1,2,3,4,5,6,9:00-18:00" # Monday-Saturday, day
-
-name = KPPPd # name for reference
-
-usrdevicename = isp # ipr, tel, rbch
-usrdeviceunit = 0 # unit number
-
-isdncontroller = 1 # controller to use or -1 to use any
-isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any
-
- # numbers used to verify at DIAL IN
-local-phone-incoming = 29 # this is my number
-remote-phone-incoming = 00401234567 # this one can call in
-
- # numbers used to DIAL OUT
-local-phone-dialout = 29 # this is my number
-remote-phone-dialout = 00401234567 # i call this number
-
-remdial-handling = first # first, last or next
-
-dialin-reaction = callback # accept, reject, ignore, answer, callback
-
-dialout-type = normal # normal / calledback
-
-b1protocol = hdlc # hdlc, raw
-
-idletime-incoming = 30 # incoming call idle timeout
-idletime-outgoing = 30 # outgoing call idle timeout
-
-unitlength = 60 # unitlength to assume
-unitlengthsrc = conf # none, rate, cmdl, conf, aocd
-
-dialretries = 5 # # of dial retries
-dialrandincr = on # random dial increment time
-recoverytime = 3 # time to wait between 2 dial tries
-
-callbackwait = 5 # time to wait to call back
-
-usedown = off # set i/f down
-downtries = 5 # retry cycles before set down
-downtime = 60 # time to be in down before going up
-
-budget-callbackperiod = 10800 # 3 hours
-budget-callbackncalls = 1 # 1 callbacks in 3 hours
-budget-callbacksfile = /var/log/isdn/callbacks.isp0
-budget-callbacksfile-rotate = yes
-
-budget-calloutperiod = 3600 # 1 hour
-budget-calloutncalls = 3 # 3 calls in 1 hour
-budget-calloutsfile = /var/log/isdn/callouts.isp0
-budget-calloutsfile-rotate = yes
-
-#==============================================================================
-# kernel PPP (with budget handling) - Monday-Saturday: we call back
-#==============================================================================
-entry
-
-valid = "1,2,3,4,5,6,18:00-9:00" # Monday-Saturday, night
-
-name = KPPPn # name for reference
-
-usrdevicename = isp # ipr, tel, rbch
-usrdeviceunit = 0 # unit number
-
-isdncontroller = 1 # controller to use or -1 to use any
-isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any
-
- # numbers used to verify at DIAL IN
-local-phone-incoming = 29 # this is my number
-remote-phone-incoming = 00401234567 # this one can call in
-
- # numbers used to DIAL OUT
-local-phone-dialout = 29 # this is my number
-remote-phone-dialout = 00401234567 # i call this number
-
-remdial-handling = first # first, last or next
-
-dialin-reaction = callback # accept, reject, ignore, answer, callback
-
-dialout-type = normal # normal / calledback
-
-b1protocol = hdlc # hdlc, raw
-
-idletime-incoming = 30 # incoming call idle timeout
-idletime-outgoing = 30 # outgoing call idle timeout
-
-unitlength = 60 # unitlength to assume
-unitlengthsrc = conf # none, rate, cmdl, conf, aocd
-
-dialretries = 5 # # of dial retries
-dialrandincr = on # random dial increment time
-recoverytime = 3 # time to wait between 2 dial tries
-
-callbackwait = 5 # time to wait to call back
-
-usedown = off # set i/f down
-downtries = 5 # retry cycles before set down
-downtime = 60 # time to be in down before going up
-
-budget-callbackperiod = 7200 # 2 hours
-budget-callbackncalls = 2 # 2 callbacks in 2 hours
-budget-callbacksfile = /var/log/isdn/callbacks.isp0
-budget-callbacksfile-rotate = yes
-
-budget-calloutperiod = 3600 # 1 hour
-budget-calloutncalls = 3 # 3 calls in 1 hour
-budget-calloutsfile = /var/log/isdn/callouts.isp0
-budget-calloutsfile-rotate = yes
-
-# EOF #########################################################################
diff --git a/etc/isdn/isdntel.alias.sample b/etc/isdn/isdntel.alias.sample
deleted file mode 100644
index c06bc19..0000000
--- a/etc/isdn/isdntel.alias.sample
+++ /dev/null
@@ -1,21 +0,0 @@
-#---------------------------------------------------------------------------
-#
-# alias file for the isdntel(1) application
-# -----------------------------------------
-#
-# $FreeBSD$
-#
-# last edit-date: [Fri Dec 18 18:06:03 1998]
-#
-# -hm cleanup for release
-#
-#
-# the format is simple: the number beginning in column one followed
-# by one or more spaces or tabs. The rest of the line is taken as
-# and alias string for the number. Comment lines start with a "#".
-#
-#---------------------------------------------------------------------------
-123 alias for 123
-456 alias for 456
-789 alias for 789
-
diff --git a/etc/isdn/isdntel.sh b/etc/isdn/isdntel.sh
deleted file mode 100755
index 14f528a..0000000
--- a/etc/isdn/isdntel.sh
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-#---------------------------------------------------------------------------
-#
-# isdn telephone answering
-# -------------------------
-#
-# $FreeBSD$
-#
-# last edit-date: [Thu May 20 11:45:04 1999]
-#
-#---------------------------------------------------------------------------
-#FreeBSD < 3.1, NetBSD, OpenBSD, BSD/OS
-#LIBDIR=/usr/local/lib/isdn
-#FreeBSD 3.1 and up
-LIBDIR=/usr/share/isdn
-
-VARDIR=/var/isdn
-DEVICE=/dev/i4btel0
-
-# sounds
-MESSAGE=${LIBDIR}/msg.al
-BEEP=${LIBDIR}/beep.al
-
-# dd options
-SKIP=25
-
-# max message size
-MAXMSIZ=100
-
-# src and dst telephone numbers
-src=
-dst=
-
-# current date
-DATE=`date`
-
-# check if directory exists
-if [ ! -d "${VARDIR}" ]
-then
- mkdir ${VARDIR}
-fi
-
-# get options
-if ! set -- `/usr/bin/getopt D:d:s: $*`; then
- echo "usage2: play -D device -d <dest-telno> -s <src-telno>"
- exit 1
-fi
-
-# process options
-for i ; do
- case $i in
- -D)
- DEVICE=$2; shift; shift;
- ;;
- -d)
- dst=$2; shift; shift;
- ;;
- -s)
- src=$2; shift; shift;
- ;;
- --)
- shift; break;
- ;;
- esac
-done
-
-# this is a __MUST__ in order to use the fullscreen inteface !!!
-
-FILEDATE=`date \+%y%m%d%H%M%S`
-
-# echo message to phone
-if [ -r "${MESSAGE}" ]; then
- /bin/dd of=${DEVICE} if=${MESSAGE} bs=2k >/dev/null 2>&1
-fi
-
-# echo beep to phone
-if [ -r "${BEEP}" ]; then
- /bin/dd of=${DEVICE} if=${BEEP} bs=2k >/dev/null 2>&1
-fi
-
-# start time
-START=`date \+%s`
-
-# get message from caller
-/bin/dd if=${DEVICE} of=${VARDIR}/${FILEDATE}-${dst}-${src} skip=${SKIP} bs=2k count=${MAXMSIZ} >/dev/null 2>&1
-
-# end time
-END=`date \+%s`
-
-# duration
-TIME=`expr ${END} - ${START}`
-
-# save recorded message
-if [ -r "${VARDIR}/${FILEDATE}-${dst}-${src}" ]; then
- mv ${VARDIR}/${FILEDATE}-${dst}-${src} ${VARDIR}/${FILEDATE}-${dst}-${src}-${TIME}
-fi
-
-exit 0
diff --git a/etc/isdn/record b/etc/isdn/record
deleted file mode 100755
index 61591fb..0000000
--- a/etc/isdn/record
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/bin/sh
-#---------------------------------------------------------------------------
-#
-# answer and record message script for i4b isdnd
-# ----------------------------------------------
-#
-# $FreeBSD$
-#
-# last edit-date: [Thu May 20 11:45:10 1999]
-#
-#---------------------------------------------------------------------------
-VARDIR=/var/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`
-DF=0
-dF=0
-sF=0
-
-if ! set -- `getopt D:d:s: $*`; then
- echo 'Usage: answer -D device -d destination -s source'
- exit 1
-fi
-
-for i ; do
- case ${i} in
- -D)
- DEVICE=$2
- DF=1
- shift
- shift
- ;;
- -d)
- DEST=$2
- dF=1
- shift
- shift
- ;;
- -s)
- SRC=$2
- sF=1
- shift
- shift
- ;;
- --)
- shift
- break
- ;;
- esac
-done
-
-echo "" >>${LOGFILE}
-
-if [ "${DF}" -eq 0 -o "${dF}" -eq 0 -o "${sF}" -eq 0 ]; then
- echo 'Usage: answer -D device -d destination -s source'
- exit 1
-fi
-
-echo "answer: device ${DEVICE} destination ${DEST} source ${SRC} " >>${LOGFILE}
-
-if [ -r "${NCALLFILE}" ]; then
- NCALL=`cat ${NCALLFILE}`
-else
- NCALL=0
-fi
-
-NCALL=`printf "%.4d" ${NCALL}`
-
-echo Date: `date` >> ${VARDIR}/I.${NCALL}.${DATE}
-
-if [ -n "${SRC}" ]; then
- echo "From: ${SRC}" >> ${VARDIR}/I.${NCALL}.${DATE}
-fi
-
-if [ -n "${DEST}" ]; then
- echo "To: ${DEST}" >> ${VARDIR}/I.${NCALL}.${DATE}
-fi
-
-if [ -r "${LIBDIR}/beep.al" ]; then
- dd of=${DEVICE} if=${LIBDIR}/beep.al bs=2k >/dev/null 2>&1
-fi
-
-if [ -r "${LIBDIR}/msg.al" ]; then
- dd of=${DEVICE} if=${LIBDIR}/msg.al bs=2k >/dev/null 2>&1
-fi
-
-if [ -r "${LIBDIR}/beep.al" ]; then
- dd of=${DEVICE} if=${LIBDIR}/beep.al bs=2k >/dev/null 2>&1
-fi
-
-dd if=${DEVICE} of=${VARDIR}/R.${NCALL}.${DATE} bs=2k >/dev/null 2>&1
-
-echo `expr $NCALL + 1` >$NCALLFILE
diff --git a/etc/isdn/tell b/etc/isdn/tell
deleted file mode 100755
index 047c834..0000000
--- a/etc/isdn/tell
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/sh
-#---------------------------------------------------------------------------
-#
-# tell called and calling numbers answer script for i4b isdnd
-# -----------------------------------------------------------
-#
-# $FreeBSD$
-#
-# last edit-date: [Thu May 20 11:45:15 1999]
-#
-#---------------------------------------------------------------------------
-VARDIR=/var/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`
-DF=0
-dF=0
-sF=0
-
-if ! set -- `getopt D:d:s: $*`; then
- echo 'Usage: answer -D device -d destination -s source'
- exit 1
-fi
-
-for i ; do
- case ${i} in
- -D)
- DEVICE=$2
- DF=1
- shift
- shift
- ;;
- -d)
- DEST=$2
- dF=1
- shift
- shift
- ;;
- -s)
- SRC=$2
- sF=1
- shift
- shift
- ;;
- --)
- shift
- break
- ;;
- esac
-done
-
-echo "" >>${LOGFILE}
-
-if [ "${DF}" -eq 0 -o "${dF}" -eq 0 -o "${sF}" -eq 0 ]; then
- echo 'Usage: answer -D device -d destination -s source'
- exit 1
-fi
-
-echo "answer: device ${DEVICE} destination ${DEST} source ${SRC} " >>${LOGFILE}
-
-if [ -r "${LIBDIR}/beep.al" ]; then
- dd of=${DEVICE} if=${LIBDIR}/beep.al bs=2k >/dev/null 2>&1
-fi
-
-# tell the caller the number he is calling from
-
-POS=1
-LENGTH=`expr ${SRC} : '.*'`
-
-while : ; do
- DIGIT=`echo ${SRC} | cut -c ${POS}`
- /bin/dd of=${DEVICE} if=${LIBDIR}/${DIGIT}.al bs=2k >/dev/null 2>&1
- POS=`expr ${POS} + 1`
- if [ "${POS}" -gt "${LENGTH}" ]; then
- break
- fi
-done
-
-if [ -r "${LIBDIR}/beep.al" ]; then
- dd of=${DEVICE} if=${LIBDIR}/beep.al bs=2k >/dev/null 2>&1
-fi
diff --git a/etc/isdn/tell-record b/etc/isdn/tell-record
deleted file mode 100755
index ae4c8176..0000000
--- a/etc/isdn/tell-record
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/bin/sh
-#---------------------------------------------------------------------------
-#
-# tell called and calling numbers answer script for i4b isdnd
-# -----------------------------------------------------------
-#
-# $FreeBSD$
-#
-# last edit-date: [Tue Oct 31 10:59:49 2000]
-#
-#---------------------------------------------------------------------------
-VARDIR=/var/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`
-DF=0
-dF=0
-sF=0
-
-if ! set -- `getopt D:d:s: $*`; then
- echo 'Usage: answer -D device -d destination -s source'
- exit 1
-fi
-
-for i ; do
- case ${i} in
- -D)
- DEVICE=$2
- DF=1
- shift
- shift
- ;;
- -d)
- DEST=$2
- dF=1
- shift
- shift
- ;;
- -s)
- SRC=$2
- sF=1
- shift
- shift
- ;;
- --)
- shift
- break
- ;;
- esac
-done
-
-echo "" >>${LOGFILE}
-
-if [ "${DF}" -eq 0 -o "${dF}" -eq 0 -o "${sF}" -eq 0 ]; then
- echo 'Usage: answer -D device -d destination -s source'
- exit 1
-fi
-
-echo "answer: device ${DEVICE} destination ${DEST} source ${SRC} " >>${LOGFILE}
-
-if [ -r "${LIBDIR}/beep.al" ]; then
- dd of=${DEVICE} if=${LIBDIR}/beep.al bs=2k >/dev/null 2>&1
-fi
-
-# tell the caller the number he is calling from
-
-POS=1
-LENGTH=`expr ${SRC} : '.*'`
-
-while : ; do
- DIGIT=`echo ${SRC} | cut -c ${POS}`
- /bin/dd of=${DEVICE} if=${LIBDIR}/${DIGIT}.al bs=2k >/dev/null 2>&1
- POS=`expr ${POS} + 1`
- if [ "${POS}" -gt "${LENGTH}" ]; then
- break
- fi
-done
-
-if [ -r "${LIBDIR}/beep.al" ]; then
- dd of=${DEVICE} if=${LIBDIR}/beep.al bs=2k >/dev/null 2>&1
-fi
-
-dd if=${DEVICE} of=${VARDIR}/recorded.msg bs=2k >/dev/null 2>&1
diff --git a/etc/isdn/unknown_incoming b/etc/isdn/unknown_incoming
deleted file mode 100755
index 5debe21..0000000
--- a/etc/isdn/unknown_incoming
+++ /dev/null
@@ -1,79 +0,0 @@
-#!/bin/sh
-#---------------------------------------------------------------------------
-#
-# unknown_incoming - script for isdnd
-# -----------------------------------
-#
-# $FreeBSD$
-#
-# last edit-date: [Wed Jan 10 13:40:36 2001]
-#
-# This script may be configured to be called by isdnd when an
-# unknown incoming call is received. In case the destination
-# telephone number is available, it sends mail with the time,
-# source and destination numbers to a configurable address.
-#
-# For this to work, and entry like this:
-#
-# regexpr = "<unknown> incoming call from"
-# regprog = unknown_incoming
-#
-# is needed in the system section of /etc/isdn/isdnd.rc.
-#
-# This script has to be configured to the sites needs, look
-# for the comment lines start with "configure:"
-#
-#---------------------------------------------------------------------------
-#
-# configure: who shall receive the mail
-mailaddr=root
-#
-from=`echo $* | awk '{print $6}'`
-to=`echo $* | awk '{print $8}'`
-test=`echo $* | awk '{print $9}'`
-ctrl=`echo $* | awk '{print $10}'`
-date=`date "+%b %d"`
-time=`date "+%H:%M"`
-mach=`hostname`
-
-# configure: list of destination numbers to ignore
-case "$from" in
- "NotAvailable" ) exit 0 ;;
- "00401234567"* ) exit 0 ;;
- "00407654321" ) exit 0 ;;
-esac
-
-# configure: how to name the line on which this was received
-if [ $test = "ctrl" ]
-then
- case "$ctrl" in
- "1")
- line="PBX 1"
- ;;
- "2")
- line="PBX 2"
- ;;
- *)
- line="controller is $ctrl"
- ;;
- esac
-else
- line="test is $test, controller is $ctrl"
-fi
-
-cat << ENDOFDATA | mail -s "isdnd: unknown incoming telephone call" $mailaddr
-
-Unknown incoming telephone call recognized:
-
- Date: $date
- Time: $time
- Line: $line
- From: $from
- To: $to
-
- Sincerly yours,
- the isdnd on $mach
-
-ENDOFDATA
-
-exit 0
diff --git a/etc/mtree/BSD.include.dist b/etc/mtree/BSD.include.dist
index bfc598b..dfc53b7 100644
--- a/etc/mtree/BSD.include.dist
+++ b/etc/mtree/BSD.include.dist
@@ -189,8 +189,6 @@
..
gssapi
..
- i4b
- ..
isofs
cd9660
..
diff --git a/etc/mtree/BSD.root.dist b/etc/mtree/BSD.root.dist
index 2fac377..2bbd28c 100644
--- a/etc/mtree/BSD.root.dist
+++ b/etc/mtree/BSD.root.dist
@@ -32,8 +32,6 @@
..
gss
..
- isdn mode=0700
- ..
mail
..
mtree
diff --git a/etc/mtree/BSD.usr.dist b/etc/mtree/BSD.usr.dist
index f047d65..df3777b 100644
--- a/etc/mtree/BSD.usr.dist
+++ b/etc/mtree/BSD.usr.dist
@@ -221,14 +221,6 @@
..
iscsi
..
- isdn
- contrib
- ..
- i4brunppp
- ..
- v21
- ..
- ..
kld
cdev
module
@@ -344,8 +336,6 @@
..
info
..
- isdn
- ..
locale
UTF-8
..
diff --git a/etc/netstart b/etc/netstart
index 9dfd039..b964663 100755
--- a/etc/netstart
+++ b/etc/netstart
@@ -52,7 +52,6 @@ _start=quietstart
/etc/rc.d/netif ${_start}
/etc/rc.d/ipsec ${_start}
/etc/rc.d/dhclient ${_start}
-/etc/rc.d/isdnd ${_start}
/etc/rc.d/ppp ${_start}
/etc/rc.d/ipfw ${_start}
/etc/rc.d/ip6fw ${_start}
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile
index bfb1bfc..7be483d 100755
--- a/etc/rc.d/Makefile
+++ b/etc/rc.d/Makefile
@@ -16,7 +16,7 @@ FILES= DAEMON FILESYSTEMS LOGIN NETWORKING SERVERS \
hostapd hostid hostname \
idmapd inetd initrandom \
ip6addrctl ip6fw ipfilter ipfs ipfw ipmon \
- ipnat ipsec ipxrouted isdnd \
+ ipnat ipsec ipxrouted \
jail \
kadmind kerberos kernel keyserv kldxref kpasswdd \
ldconfig local localpkg lockd lpd \
diff --git a/etc/rc.d/NETWORKING b/etc/rc.d/NETWORKING
index 21b584b..f290d3b 100644
--- a/etc/rc.d/NETWORKING
+++ b/etc/rc.d/NETWORKING
@@ -4,7 +4,7 @@
#
# PROVIDE: NETWORKING NETWORK
-# REQUIRE: netif netoptions routing network_ipv6 isdnd ppp
+# REQUIRE: netif netoptions routing network_ipv6 ppp
# REQUIRE: routed mrouted route6d mroute6d resolv
# This is a dummy dependency, for services which require networking
diff --git a/etc/rc.d/isdnd b/etc/rc.d/isdnd
deleted file mode 100644
index ab38764..0000000
--- a/etc/rc.d/isdnd
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# Mostly based on original script (/etc/rc.isdn) written by Hellmuth Michaelis
-#
-
-# PROVIDE: isdnd
-# REQUIRE: netif FILESYSTEMS cleanvar
-# KEYWORD: nojail
-
-. /etc/rc.subr
-
-name="isdnd"
-rcvar=`set_rcvar isdn`
-pidfile="/var/run/${name}.pid"
-command="/usr/sbin/isdnd"
-start_cmd="isdnd_start"
-
-isdnd_start()
-{
- echo -n 'ISDN subsystem setup:'
-
- # Start isdnd
- #
- echo -n ' isdnd'
- case ${isdn_fsdev} in
- [Nn][Oo] | '')
- /usr/sbin/isdnd ${isdn_flags}
- ;;
- *)
- # Change vidmode of ${isdn_fsdev}
- #
- case ${isdn_screenflags} in
- [Nn][Oo])
- ;;
- *)
- /usr/sbin/vidcontrol < ${isdn_fsdev} > ${isdn_fsdev} 2>&1 ${isdn_screenflags}
- ;;
- esac
-
- /usr/sbin/isdnd ${isdn_flags} -f -r ${isdn_fsdev} -t ${isdn_ttype}
- ;;
- esac
-
- # Start isdntrace
- #
- if checkyesno isdn_trace; then
- echo -n ' isdntrace'
- nohup /usr/sbin/isdntrace ${isdn_traceflags} >/dev/null 2>&1 &
- fi
- echo '.'
-}
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/etc/rc.d/ppp b/etc/rc.d/ppp
index 2ab1696..b3991fe 100644
--- a/etc/rc.d/ppp
+++ b/etc/rc.d/ppp
@@ -4,7 +4,7 @@
#
# PROVIDE: ppp
-# REQUIRE: netif isdnd
+# REQUIRE: netif
# KEYWORD: nojail
. /etc/rc.subr
OpenPOWER on IntegriCloud