]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/install+setup/setup/main.c
Rudimentaere ISDN-Erkennung erstellt.
[people/pmueller/ipfire-2.x.git] / src / install+setup / setup / main.c
index 3fc800e134b2ed5153725f1a5faf108815dc6a2b..0595468ac4a8e3b4d8194124c7451f653a529089 100644 (file)
@@ -95,9 +95,10 @@ int main(int argc, char *argv[])
        sections[2] = ctr[TR_HOSTNAME];
        sections[3] = ctr[TR_DOMAINNAME];
        sections[4] = ctr[TR_NETWORKING];
-       sections[5] = ctr[TR_ROOT_PASSWORD];
-       sections[6] = ctr[TR_ADMIN_PASSWORD];
-       sections[7] = NULL;
+       sections[5] = ctr[TR_ISDN];
+       sections[6] = ctr[TR_ROOT_PASSWORD];
+       sections[7] = ctr[TR_ADMIN_PASSWORD];
+       sections[8] = NULL;
 
        newtInit();
        newtCls();
@@ -147,12 +148,16 @@ int main(int argc, char *argv[])
                                case 4:
                                        handlenetworking();
                                        break;
-
+                               
                                case 5:
+                                       handleisdn();
+                                       break;
+
+                               case 6:
                                        handlerootpassword();
                                        break;
                                        
-                               case 6:
+                               case 7:
                                        handleadminpassword();
                                        break;
                
@@ -173,6 +178,8 @@ int main(int argc, char *argv[])
                        goto EXIT;
                if (!(handlenetworking()))
                        goto EXIT;
+               if (!(handleisdn()))
+                       goto EXIT;
                if (!(handledhcp()))
                        goto EXIT;
                if (!(handlerootpassword()))