mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
- neutrinoyparser: stay compatible with present code in Y_Blocks.txt
This commit is contained in:
@@ -839,8 +839,11 @@ std::string CNeutrinoYParser::func_get_partition_list(CyhookHandler *, std::str
|
|||||||
std::string CNeutrinoYParser::func_get_boxtype(CyhookHandler *, std::string)
|
std::string CNeutrinoYParser::func_get_boxtype(CyhookHandler *, std::string)
|
||||||
{
|
{
|
||||||
std::string boxvendor(g_info.hw_caps->boxvendor);
|
std::string boxvendor(g_info.hw_caps->boxvendor);
|
||||||
std::string boxname(g_info.hw_caps->boxname);
|
/* stay compatible with present code in Y_Blocks.txt */
|
||||||
|
if (boxvendor.compare("Coolstream") == 0)
|
||||||
|
boxvendor = "CST";
|
||||||
|
|
||||||
|
std::string boxname(g_info.hw_caps->boxname);
|
||||||
/* workaround for Neo2 */
|
/* workaround for Neo2 */
|
||||||
if ((boxname.compare("Neo") == 0) && (CFEManager::getInstance()->getFrontendCount() > 1))
|
if ((boxname.compare("Neo") == 0) && (CFEManager::getInstance()->getFrontendCount() > 1))
|
||||||
boxname += " Twin";
|
boxname += " Twin";
|
||||||
|
Reference in New Issue
Block a user