diff --git a/src/neutrino.cpp b/src/neutrino.cpp index fa564754d..2fe4037e0 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -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); }