Here is my fix to get a back button that enables everyone
- to repeat the entire process
- or cancel without shutdown.
script attached for your conveniance#final sanity check...
AAAMB=`expr $SIZEPFILE \/ 1024`
T_sanititle="$(gettext 'First shutdown: sanity check')"
T_saniyes="$(gettext 'YES, SAVE')"
T_sanichange="$(gettext 'CHANGE FOLDER')"
while [ 1 ];do #110926
T_sanitext="`eval_gettext \"\Zb\Z1FINAL SANITY CHECK:\Zn\ZB
Partition you are saving to: \Zb\\\${SAVEPART}\ZB
The filesystem of \\\${SAVEPART} partition: \Zb\\\${SAVEFS}\ZB
Name of the save file: \Zb\\\${NAMEONLY}\ZB
Path (folder) of the save file: \Zb\\\${SAVEPATH}\ZB
Size of save file: \Zb\\\${SIZEPFILE}KB (\\\${AAAMB}MB)\ZB
Filesystem inside save file: \Zb\\\${SFFS}\ZB
\"`
"
T_back="$(gettext 'back')"
T_sanitext="$T_sanitext
`eval_gettext \"If they definitely look right, choose \Zb\\\${T_saniyes}\ZB button...
Looks ok, but you want to change the folder or anything else, choose \Zb\\\${T_back}\ZB...
If you decide not to save, choose \Zb\\\${T_notsave}\ZB...\"`"
# ${DIALOGEXE} ${BACKGROUNDYELLOW} ${TITLEPARAM} "$T_sanititle" --colors --no-collapse --extra-button --ok-label "$T_saniyes" --extra-label "$T_sanichange" --cancel-label "$T_notsave" --yesno "$T_sanitext" 0 0 >/dev/console #110926
${DIALOGEXE} ${BACKGROUNDYELLOW} ${TITLEPARAM} "$T_sanititle" --colors --no-collapse --extra-button --ok-label "$T_saniyes" --extra-label "$T_back" --cancel-label "$T_notsave" --yesno "$T_sanitext" 0 0 >/dev/console #140222
SANITYRET=$?
[ $SANITYRET -ne 0 -a $SANITYRET -ne 3 ] && return 1
[ $SANITYRET -eq 0 ] && break
# if [ $SANITYRET -eq 3 ];then #change folder.
if [ $SANITYRET -eq 3 ];then #start fresh
$0
exit
T_choosefoldertitle="$(gettext 'First shutdown: choose folder')"