What You think about to hide HDD setup from menu when it's not attached to box ( sure, an IDE disk ) ?
I was think about this:
under system_settings.cpp, to add:
Code: Alles auswählen
FILE *F;
if ( eSystemInfo::getInstance()->hasHDD() )
if ((F = fopen ("/dev/scsi/host0/bus0/target0/lun0/disc", "r")) != NULL)
{
fclose (F);
CONNECT((new eListBoxEntryMenu(&list, _("Hard disc Setup"), eString().sprintf("(%d) %s", ++entry, _("open hard disc setup")) ))->selected, eSystemSettings::harddisc_setup);
}
OK, maybe
Code: Alles auswählen
/dev/scsi/host0/bus0/target0/lun0/disc
Just an idea.