#!/bin/bash

while true;
do
   selection=$(dlg --menu $"Main Menu" 0 0 0 \
   display $"Display" \
   boot    $"Boot" \
   exit    $"Exit")
   
   case $selection in
      exit|"")
         break;
         ;;
      display)
         display_interface
         ;;
      boot)
         boot_interface
         ;;
      *)
         dlg --msgbox $"Error: This module is not implemented yet!"
         ;;
   esac
done