mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
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:
@@ -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)){
|
||||
|
Reference in New Issue
Block a user