opkg_manager: remove reboot and restart trigger files

Origin commit data
------------------
Commit: 407c15f3f1
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-01 (Fri, 01 Jan 2016)
This commit is contained in:
Stefan Seyfried
2016-01-01 19:29:10 +01:00
parent aefcec168c
commit 757f433745

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;