1
opensuse-setup/scripts/reboot-uefi

18 lines
557 B
Plaintext
Raw Normal View History

2023-05-30 22:07:01 +00:00
#!/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