neutrino: remove hardcoded path

Origin commit data
------------------
Branch: ni/coolstream
Commit: 78f09795cf
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-12-10 (Thu, 10 Dec 2020)

Origin message was:
------------------
- neutrino: remove hardcoded path

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2020-12-10 21:44:19 +01:00
parent e44e1f3a32
commit ef64757a83

View File

@@ -5303,7 +5303,9 @@ void stop_daemons(bool stopall, bool for_flash)
g_settings.epg_scan_mode = CEpgScan::MODE_OFF;
//NI
#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
my_system(NEUTRINO_ENTER_FLASH_SCRIPT);
}