Drop mISDN userspace tools

This is unsupported for quite a while and nobody should be using this.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-02-12 11:40:07 +00:00
parent 922ec43f99
commit a350ea6dea
12 changed files with 13 additions and 201 deletions

View File

@@ -25,7 +25,7 @@ struct knic knics[20] = { { "" , "" , "" , "" } };
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";
@@ -69,10 +69,9 @@ int main(int argc, char *argv[])
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();
@@ -124,14 +123,10 @@ int main(int argc, char *argv[])
break;
case 5:
handleisdn();
break;
case 6:
handlerootpassword();
break;
case 7:
case 6:
handleadminpassword();
break;
@@ -154,8 +149,6 @@ int main(int argc, char *argv[])
goto EXIT;
if (!(handleadminpassword()))
goto EXIT;
if (!(handleisdn()))
goto EXIT;
if (!(handlenetworking()))
goto EXIT;
if (!(handledhcp()))

View File

@@ -139,13 +139,3 @@ int writehostsfiles(void)
return 1;
}
int handleisdn(void)
{
char command[STRING_SIZE];
sprintf(command, "/etc/rc.d/init.d/mISDN config");
if (runcommandwithstatus(command, _("ISDN"), _("Scanning and configuring ISDN devices."), NULL))
errorbox(_("Unable to scan for ISDN devices."));
// Need to write some lines that count the cards and say the names...
return 1;
}

View File

@@ -32,7 +32,6 @@ int handleadminpassword(void);
/* misc.c */
int writehostsfiles(void);
int handleisdn(void);
/* keymap.c */
int handlekeymap(void);