mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
-add hw info to func_get_boxtype, fixes
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@983 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -586,7 +586,10 @@ void CControlAPI::HWInfoCGI(CyhookHandler *hh)
|
||||
boxname = "Coolstream ";
|
||||
switch(system_rev)
|
||||
{
|
||||
case 6:
|
||||
case 1:
|
||||
boxname = "TripleDragon";
|
||||
break;
|
||||
case 6:
|
||||
boxname += "HD1";
|
||||
break;
|
||||
case 7:
|
||||
@@ -608,7 +611,7 @@ void CControlAPI::HWInfoCGI(CyhookHandler *hh)
|
||||
}
|
||||
break;
|
||||
}
|
||||
boxname += (g_info.delivery_system == DVB_S) ? " SAT":" CABLE";
|
||||
boxname += (g_info.delivery_system == DVB_S || (system_rev == 1)) ? " SAT":" CABLE";
|
||||
hh->printf("%s\n", boxname.c_str());
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user