From 662433c0c315051eb104e08771b8de0d89c8ed84 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Mon, 4 Jan 2016 20:26:41 +0100 Subject: [PATCH] opkg_manager: remove reboot and restart trigger files Signed-off-by: Thilo Graf --- src/gui/opkg_manager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/opkg_manager.cpp b/src/gui/opkg_manager.cpp index b188b81e4..2c687fc5f 100644 --- a/src/gui/opkg_manager.cpp +++ b/src/gui/opkg_manager.cpp @@ -555,6 +555,10 @@ int COPKGManager::showMenu() res = menu_return::RETURN_EXIT_ALL; } } + /* remove the package-generated files... */ + unlink("/tmp/.restart"); + unlink("/tmp/.force_restart"); + unlink("/tmp/.reboot"); delete menu;