scripts: move flash.start script away from control scripts

Origin commit data
------------------
Commit: fa17da4f0a
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-09-26 (Sun, 26 Sep 2021)

Origin message was:
------------------
- scripts: move flash.start script away from control scripts
This commit is contained in:
vanhofen
2021-09-26 20:25:38 +02:00
parent f985a984d5
commit 4266fecc1c
5 changed files with 7 additions and 4 deletions

View File

@@ -5690,7 +5690,9 @@ void stop_daemons(bool stopall, bool for_flash)
if (!backup_flash_sh.empty())
system(backup_flash_sh.c_str()); //don't fork
#endif
my_system(NEUTRINO_ENTER_FLASH_SCRIPT);
std::string start_flash_sh = find_executable("start_flash.sh");
if (!start_flash_sh.empty())
my_system(start_flash_sh.c_str());
}
InfoClock->enableInfoClock(false);