opkg-manager: restart only for neutrino

Origin commit data
------------------
Branch: ni/coolstream
Commit: dc3fbdabfa
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-04-10 (Sat, 10 Apr 2021)


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

------------------
This commit was generated by Migit
This commit is contained in:
2021-04-10 22:19:43 +02:00
committed by vanhofen
parent 5f598f9f43
commit 8ec3bb7b7b

View File

@@ -682,7 +682,7 @@ int COPKGManager::showMenu()
so it's controlled by the package maintainer!
*/
//restart neutrino: user decision
if(!access( "/tmp/.restart", F_OK)){
if(!access( "/tmp/.restart_neutrino", F_OK)){
int msg = ShowMsg(LOCALE_OPKG_TITLE, g_Locale->getText(LOCALE_OPKG_SUCCESS_INSTALL), CMsgBox::mbrNo,
CMsgBox::mbYes | CMsgBox::mbNo,
NEUTRINO_ICON_QUESTION,
@@ -691,7 +691,7 @@ int COPKGManager::showMenu()
exit_action = "restart";
}
//restart neutrino: forced
if (!access( "/tmp/.force_restart", F_OK))
if (!access( "/tmp/.force_restart_neutrino", F_OK))
exit_action = "restart";
//reboot stb: forced
if (!access( "/tmp/.reboot", F_OK)){