mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
update: add boxname to update.php script
Origin commit data
------------------
Commit: c63893e336
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-06-11 (Tue, 11 Jun 2019)
Origin message was:
------------------
- update: add boxname to update.php script
This commit is contained in:
@@ -153,6 +153,7 @@ void CFlashUpdate::update_php(std::string &url, const char* type)
|
||||
if (url.find("update.php") != std::string::npos)
|
||||
{
|
||||
url += "?revision=" + to_string(cs_get_revision());
|
||||
url += "&boxname=" + g_info.hw_caps->boxname;
|
||||
url += "&chip_type=" + to_string(cs_get_chip_type());
|
||||
url += "&image_type=" + (std::string)type;
|
||||
printf("[update_php] url %s\n", url.c_str());
|
||||
|
Reference in New Issue
Block a user