mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
CLuaInstMisc::GetRevision: Use hw_caps for hardware name...
...on non coolstream hardware
Origin commit data
------------------
Branch: ni/coolstream
Commit: f0e98af21b
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-14 (Thu, 14 Jan 2016)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -281,6 +281,10 @@ int CLuaInstMisc::GetRevision(lua_State *L)
|
||||
std::string hw = "";
|
||||
#if HAVE_COOL_HARDWARE
|
||||
hw = "Coolstream";
|
||||
#else
|
||||
hw = g_info.hw_caps->boxvendor;
|
||||
hw += "_";
|
||||
hw += g_info.hw_caps->boxname;
|
||||
#endif
|
||||
rev = cs_get_revision();
|
||||
lua_pushinteger(L, rev);
|
||||
|
Reference in New Issue
Block a user