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;