blob: ce3fd74e770480bc0663b8d477536a1375d3a96f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
if [[ -z $ISO_TYPE ]]; then
# default
ISO_TYPE='cdemu'
# guess :)
[[ -n $MOUNTTARGET ]] && ISO_TYPE='fuseiso'
[[ -n $CDEMU_NO ]] && ISO_TYPE='cdemu'
fi
case $ISO_TYPE in
'fuseiso') inherit fuseiso;;
'cdemu') inherit cdemu;;
*) die "Unknown ISO_TYPE: '$ISO_TYPE'";;
esac
# vim:ft=sh
|