1 HELPERS="$HELPERS makecd:makecd_backup"
2 wizardname="makecd action wizard"
4 declare -a makecd_excludes
8 inputBox "$wizardname" "specify a burner type cd or dvd:"
10 burnertype="burnertype = $REPLY"
12 booleanBox "$wizardname" "Make iso image only? or burn"
14 isoonly="isoonly = yes"
16 isoonly="isoonly = no"
20 inputBox "$wizardname" "Directory where to store the backups:"
22 backupdir="backupdir = $REPLY"
24 inputBox "$wizardname" "what name to give to the image file?"
26 imagefile="imagefile = $REPLY"
28 inputBox "$wizardname" "specify a burner device:"
30 device="device = $REPLY"
32 # target - root of system to be included
33 inputBox "$wizardname" "root of filesystem for burn:"
35 target="target = $REPLY"
40 formBegin "$wizardname: excludes"
41 for ((i=0; i < ${#makecd_excludes[@]} ; i++)); do
42 formItem exclude ${makecd_excludes[$i]}
57 makecd_excludes=($REPLY)
59 get_next_filename $configdirectory/20.makecd
60 cat >> $next_filename <<EOF
62 # TYP is cd or dvd AS WELL AS the disk inside!!
68 # iso or burn to cd/dvd?
71 # location for image file
77 # cd/dvd burner device
80 # dirs/files to include in the backup
83 # directories/files to be excluded
89 for ((j=0; j < ${#makecd_excludes[@]} ; j++)); do
90 echo "exclude = ${makecd_excludes[$j]}" >> $next_filename
93 chmod 600 $next_filename