+++ /dev/null
-usr/bin/isdn_text2wireshark
-usr/bin/l1oipctrl
-usr/bin/misdn_E1test
-usr/bin/misdn_bridge
-usr/bin/misdn_info
-usr/bin/misdn_log
-#usr/etc
-#usr/etc/udev
-#usr/etc/udev/rules.d
-#usr/etc/udev/rules.d/45-misdn.rules
-#usr/include/mISDN
-#usr/include/mISDN/l3dss1.h
-#usr/include/mISDN/mISDNcompat.h
-#usr/include/mISDN/mISDNif.h
-#usr/include/mISDN/mbuffer.h
-#usr/include/mISDN/mlayer3.h
-#usr/include/mISDN/q931.h
-#usr/include/mISDN/suppserv.h
-#usr/lib/libmisdn.a
-#usr/lib/libmisdn.la
-usr/lib/libmisdn.so
-usr/lib/libmisdn.so.1
-usr/lib/libmisdn.so.1.0.0
-usr/sbin/misdn_cleanl2
-usr/sbin/misdn_rename
-etc/rc.d/init.d/mISDN
+++ /dev/null
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2012 IPFire Team <info@ipfire.org> #
-# #
-# This program is free software: you can redistribute it and/or modify #
-# it under the terms of the GNU General Public License as published by #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see <http://www.gnu.org/licenses/>. #
-# #
-###############################################################################
-
-###############################################################################
-# Definitions
-###############################################################################
-
-include Config
-
-VER = 20121008
-
-THISAPP = mISDNuser-$(VER)
-DL_FILE = $(THISAPP).tar.xz
-DL_FROM = $(URL_IPFIRE)
-DIR_APP = $(DIR_SRC)/$(THISAPP)
-TARGET = $(DIR_INFO)/$(THISAPP)
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE)
-
-$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-
-$(DL_FILE)_MD5 = 86dd2c68ef5b2fdff653f9f635771127
-
-install : $(TARGET)
-
-check : $(patsubst %,$(DIR_CHK)/%,$(objects))
-
-download :$(patsubst %,$(DIR_DL)/%,$(objects))
-
-md5 : $(subst %,%_MD5,$(objects))
-
-###############################################################################
-# Downloading, checking, md5sum
-###############################################################################
-
-$(patsubst %,$(DIR_CHK)/%,$(objects)) :
- @$(CHECK)
-
-$(patsubst %,$(DIR_DL)/%,$(objects)) :
- @$(LOAD)
-
-$(subst %,%_MD5,$(objects)) :
- @$(MD5)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
- @$(PREBUILD)
- @rm -rf $(DIR_SRC)/mISDNuser && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_SRC)/mISDNuser && sed -e "s/-Werror//g" -i */Makefile.*
- cd $(DIR_SRC)/mISDNuser && make
- cd $(DIR_SRC)/mISDNuser && ./configure --prefix=/usr --with-AF_ISDN=34
- cd $(DIR_SRC)/mISDNuser && make MISDNDIR=/usr/src/linux
- cd $(DIR_SRC)/mISDNuser && make install MISDNDIR=/usr/src/linux
- @rm -rf $(DIR_APP)
- @$(POSTBUILD)
+++ /dev/null
-#!/bin/sh
-########################################################################
-# Begin $rc_base/init.d/mISDN
-#
-# Description : Start mISDN v2
-#
-# Authors : Arne Fitzenreiter - arne_f@ipfire.org
-#
-# Version : 01.00
-#
-# Notes :
-#
-########################################################################
-
-. /etc/sysconfig/rc
-. ${rc_functions}
-
-case "${1}" in
- start)
-
- boot_mesg "Starting mISDNv2 ... "
-
- # load mISDN modules
- for module in mISDN_core hfcpci hfcsusb hfcmulti avmfritz speedfax mISDNinfineon xhfc; do
- modprobe $module > /dev/null 2>&1;
- done
-
- modprobe mISDN_dsp
- modprobe mISDN_dsp_oslec
- if [ ${?} = 0 ]; then
- echo_ok;
- else
- echo_failure;
- fi
- exit 0;
- ;;
-
- stop)
-
- boot_mesg "Stopping mISDNv2 ... "
-
- # unload mISDN hardware modules
- for module in mISDN_dsp_oslec mISDN_dsp hfcpci hfcsusb hfcmulti avmfritz speedfax mISDNinfineon xhfc mISDNipac mISDNisar; do
- rmmod $module > /dev/null 2>&1;
- done
-
- rmmod mISDN_core > /dev/null 2>&1
- echo_ok;
- exit 0;
- ;;
-
- config)
- boot_mesg "mISDNv2 - config not needed!"
- exit 0;
- ;;
-
- scan)
- boot_mesg "mISDNv2 - scan not supported!"
- exit 0;
- ;;
-
- *)
- echo "Usage: ${0} {start}{stop}"
- exit 1
- ;;
-esac
-
-# End $rc_base/init.d/mISDN
int main(int argc, char *argv[])
{
int choice;
- char *sections[11]; /* need to fill this out AFTER knowning lang */
+ char *sections[8]; /* need to fill this out AFTER knowning lang */
int rc;
struct keyvalue *kv;
char lang[STRING_SIZE] = "en_US.utf8";
sections[2] = _("Hostname");
sections[3] = _("Domain name");
sections[4] = _("Networking");
- sections[5] = _("ISDN");
- sections[6] = _("'root' password");
- sections[7] = _("'admin' password");
- sections[8] = NULL;
+ sections[5] = _("'root' password");
+ sections[6] = _("'admin' password");
+ sections[7] = NULL;
newtInit();
newtCls();
break;
case 5:
- handleisdn();
- break;
-
- case 6:
handlerootpassword();
break;
- case 7:
+ case 6:
handleadminpassword();
break;
goto EXIT;
if (!(handleadminpassword()))
goto EXIT;
- if (!(handleisdn()))
- goto EXIT;
if (!(handlenetworking()))
goto EXIT;
if (!(handledhcp()))