From: Gilles E. <ges...@us...> - 2006-07-31 21:42:08
|
Update of /cvsroot/ipcop/ipcop/src/install+setup/install In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv5849/src/install+setup/install Modified Files: Tag: IPCOP_v1_4_0 main.c Log Message: When a scsi controller is detected but no scsi disk are attached to the controller, we don't need to create an initrd. This work but was not very clean. Index: main.c =================================================================== RCS file: /cvsroot/ipcop/ipcop/src/install+setup/install/Attic/main.c,v retrieving revision 1.63.2.79 retrieving revision 1.63.2.80 diff -C2 -d -r1.63.2.79 -r1.63.2.80 *** main.c 18 Jul 2006 21:46:43 -0000 1.63.2.79 --- main.c 31 Jul 2006 21:42:04 -0000 1.63.2.80 *************** *** 580,583 **** --- 580,585 ---- newtPopHelpLine(); } + /* Prevent initrd creation if scsi ctrl detected but no scsi hd found */ + if (!scsi_disk) { unlink("/scsidriver"); } /* Calculate amount of memory in machine */ |