From b9729e00576b3466619b1932f410ab39fd719b52 Mon Sep 17 00:00:00 2001 From: andyq Date: Thu, 10 Oct 2002 10:44:36 +0000 Subject: Commented out adding default destinations for root, cf and card because if a CF or SD/MMC card not inserted, ipkg gives a nasty error and sometimes seg faults --- (limited to 'noncore') diff --git a/noncore/settings/aqpkg/datamgr.cpp b/noncore/settings/aqpkg/datamgr.cpp index 7f724af..b9ce227 100644 --- a/noncore/settings/aqpkg/datamgr.cpp +++ b/noncore/settings/aqpkg/datamgr.cpp @@ -111,6 +111,11 @@ void DataManager :: loadServers() // Go through the server destination list and add root, cf and card if they // don't already exist + /* AQ - commented out as if you don't have a CF or SD card in then + * this causes IPKG to try to create directories on non existant devices + * (which of course fails), gives a nasty error message and can cause ipkg + * to seg fault. + * vector::iterator dit; bool foundRoot = false; bool foundCF = false; @@ -137,7 +142,7 @@ void DataManager :: loadServers() destList.push_back( Destination( "card", "/mnt/card" ) ); #endif #endif - +*/ vector::iterator it; for ( it = serverList.begin() ; it != serverList.end() ; ++it ) reloadServerData( it->getServerName() ); -- cgit v0.9.0.2