mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
opkg-manager: restart only for neutrino
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