summaryrefslogtreecommitdiff
path: root/templates/cdemu
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2012-09-10 23:42:19 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2012-09-10 23:42:19 +0200
commitc6c87093d3d8857b44faa9c702b45e39c3e473c9 (patch)
treee77aa22381a149411a9da271472cfc576c420c9a /templates/cdemu
parent9656b572123893b9f5a1853d1b51f77665047f3a (diff)
downloadplay-c6c87093d3d8857b44faa9c702b45e39c3e473c9.tar.gz
play-c6c87093d3d8857b44faa9c702b45e39c3e473c9.tar.bz2
play-c6c87093d3d8857b44faa9c702b45e39c3e473c9.zip
EXPORT now knows the template we are in -- no need to pass it
Diffstat (limited to 'templates/cdemu')
-rw-r--r--templates/cdemu6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/cdemu b/templates/cdemu
index 81a83b0..f978884 100644
--- a/templates/cdemu
+++ b/templates/cdemu
@@ -3,7 +3,7 @@ _cdemu_dev () {
exc eval "cdemu device-mapping | grep \"^${CDEMU_NO}\" | tr -s ' ' | cut -f 2 -d' '"
}
-iso_prepare () {
+cdemu_prepare () {
default_prepare
declare -g MOUNT CDEMU_NO
@@ -15,11 +15,11 @@ iso_prepare () {
exc mount $(_cdemu_dev)
}
-iso_cleanup () {
+cdemu_cleanup () {
exc umount $(_cdemu_dev)
exc cdemu unload $CDEMU_NO
}
-EXPORT iso prepare cleanup
+EXPORT prepare cleanup
# vim:ft=sh