summaryrefslogtreecommitdiff
path: root/templates/cdemu
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2012-09-10 23:59:29 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2012-09-10 23:59:29 +0200
commit878b439fb9dda53e3159ae6e21775d1c22f8643d (patch)
tree95880e642305a5b2dd1f605ba79694c8e5dc315a /templates/cdemu
parent57120b3a90eaccd38b2c94dd16efee8c5eac05e1 (diff)
downloadplay-878b439fb9dda53e3159ae6e21775d1c22f8643d.tar.gz
play-878b439fb9dda53e3159ae6e21775d1c22f8643d.tar.bz2
play-878b439fb9dda53e3159ae6e21775d1c22f8643d.zip
Split 'prepare' in setupX and prepare -- this allows to cleanup even after killing X
Diffstat (limited to 'templates/cdemu')
-rw-r--r--templates/cdemu1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/cdemu b/templates/cdemu
index f978884..f6690a8 100644
--- a/templates/cdemu
+++ b/templates/cdemu
@@ -16,6 +16,7 @@ cdemu_prepare () {
}
cdemu_cleanup () {
+ default_cleanup
exc umount $(_cdemu_dev)
exc cdemu unload $CDEMU_NO
}