From 8ec3bb7b7b2c421bfbe6b46c8c3335d8a437adf0 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 10 Apr 2021 22:19:43 +0200 Subject: [PATCH] opkg-manager: restart only for neutrino Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/dc3fbdabfa4e04e14e1bd2e7dfebbdeebb3a6b86 Author: Thilo Graf Date: 2021-04-10 (Sat, 10 Apr 2021) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/opkg_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/opkg_manager.cpp b/src/gui/opkg_manager.cpp index b46a4b385..271881dcf 100644 --- a/src/gui/opkg_manager.cpp +++ b/src/gui/opkg_manager.cpp @@ -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)){