#!/bin/bash

################################################################################
#
# reboot-uefi
# Prompts the user to reboot to system firmware (UEFI) setup
#
################################################################################

########################################
# Prompt user and execute reboot seq.
########################################

if zenity --question --icon device_pci --text="Reboot to UEFI setup?" --title "UEFI Setup" --default-cancel --no-wrap --timeout=10
then
	pkexec systemctl reboot --firmware-setup
fi