--- trunk/installer-simple/bin/installer.sh.in 2014/01/08 09:15:14 2476 +++ trunk/installer-simple/bin/installer.sh.in 2014/01/08 10:21:09 2477 @@ -228,18 +228,14 @@ return 0 } -dialog_main() +task_main() { local method=0 local retval while [[ ${method} -le 2 ]] do - method=$(CANCEL_LABEL=$"Exit" menubox $"Configuration:" \ - $"1:Install system" \ - $"2:Show detected harddrives" \ - $"3:Exit and reboot" \ - $"4:Exit and drop into a shell") + method=$(dialog_main) retval=$? [[ ${retval} -eq 1 ]] && exit 1 if [[ ${retval} -eq 0 ]] @@ -698,6 +694,6 @@ # set some proper traps trap "trap_exit" SIGINT SIGQUIT -dialog_main +task_main exit 0