mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
neutrino: remove hardcoded path
Origin commit data
------------------
Commit: 78f09795cf
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-12-10 (Thu, 10 Dec 2020)
Origin message was:
------------------
- neutrino: remove hardcoded path
This commit is contained in:
@@ -5303,7 +5303,9 @@ void stop_daemons(bool stopall, bool for_flash)
|
|||||||
g_settings.epg_scan_mode = CEpgScan::MODE_OFF;
|
g_settings.epg_scan_mode = CEpgScan::MODE_OFF;
|
||||||
//NI
|
//NI
|
||||||
#ifdef BOXMODEL_CST_HD2
|
#ifdef BOXMODEL_CST_HD2
|
||||||
system("/bin/backup_flash.sh"); //don't fork
|
std::string backup_flash_sh = find_executable("backup_flash.sh");
|
||||||
|
if (!backup_flash_sh.empty())
|
||||||
|
system(backup_flash_sh.c_str()); //don't fork
|
||||||
#endif
|
#endif
|
||||||
my_system(NEUTRINO_ENTER_FLASH_SCRIPT);
|
my_system(NEUTRINO_ENTER_FLASH_SCRIPT);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user