1
dot-files/bin/reboot-uefi

18 lines
557 B
Bash
Executable File

#!/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