summaryrefslogtreecommitdiffstats
path: root/remote/includes/cleanup.inc
Commit message (Collapse)AuthorAgeFilesLines
* helpers/includes now should include an __init function and not just do stuff ↵Simon Rettberg2014-07-271-2/+4
| | | | right away when being sourced
* [cleanup.inc] Better trapping - trap me once, don't trap me twice (Please test!)Christian Rößler2014-04-041-3/+6
|
* [cleanup.inc] added traps for SIGINT and SIGTERMJonathan Bauer2014-03-111-0/+29
Upon SIGINT and SIGTERM, cleanexit is called. At the moment, checks for mounts done by chroot and tries to umount them. TODO: make the cleanup modular instead of writing the stuff directly inside cleanexit. A-la 'cleanup.d' for example.