From b1235df3628d178891eeefed630a22da46b25952 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sat, 12 Jun 2004 16:54:50 +0000 Subject: - refactor the distribution detection code - add detection of OpenEmbedded and generic linux distributions - simplify the zaurus model detection code --- (limited to 'libopie2/opiecore/device/odevice_yopy.cpp') diff --git a/libopie2/opiecore/device/odevice_yopy.cpp b/libopie2/opiecore/device/odevice_yopy.cpp index 493ed25..223aa76 100644 --- a/libopie2/opiecore/device/odevice_yopy.cpp +++ b/libopie2/opiecore/device/odevice_yopy.cpp @@ -78,18 +78,9 @@ void Yopy::init(const QString&) d->m_modelstr = "Yopy3700"; d->m_model = Model_Yopy_3700; d->m_rotation = Rot0; - d->m_systemstr = "Linupy"; d->m_system = System_Linupy; - - QFile f ( "/etc/issue" ); - if ( f. open ( IO_ReadOnly ) ) - { - QTextStream ts ( &f ); - ts.readLine(); - d->m_sysverstr = ts. readLine(); - f. close(); - } + // Distribution detection code now in the base class } -- cgit v0.9.0.2