mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
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:
committed by
vanhofen
parent
8ddcda724c
commit
846f8f2d77
@@ -555,6 +555,10 @@ int COPKGManager::showMenu()
|
|||||||
res = menu_return::RETURN_EXIT_ALL;
|
res = menu_return::RETURN_EXIT_ALL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/* remove the package-generated files... */
|
||||||
|
unlink("/tmp/.restart");
|
||||||
|
unlink("/tmp/.force_restart");
|
||||||
|
unlink("/tmp/.reboot");
|
||||||
|
|
||||||
delete menu;
|
delete menu;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user