opkg_manager: remove reboot and restart trigger files

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 662433c0c3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-04 (Mon, 04 Jan 2016)
This commit is contained in:
Stefan Seyfried
2016-01-04 20:26:41 +01:00
committed by vanhofen
parent 8ddcda724c
commit 846f8f2d77

View File

@@ -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;