# Calculate append=patch format=patch link=/bootmenu/timezone.config mirror ([^;\n]+);([^;\n]+);(.*) menuentry "(\1) \2" { commontimezone "$chosen" \3 } HEADER function commontimezone { echo "Switching to: $1" set boottimezone=$2 export boottimezone configfile /boot/grub/grub.cfg } submenu "Timezone Selection" { FOOTER }