mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-22 17:02:58 +02:00
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:
@@ -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()))
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -32,7 +32,6 @@ int handleadminpassword(void);
|
||||
|
||||
/* misc.c */
|
||||
int writehostsfiles(void);
|
||||
int handleisdn(void);
|
||||
|
||||
/* keymap.c */
|
||||
int handlekeymap(void);
|
||||
|
||||
Reference in New Issue
Block a user