Class: Bootloader::SystemdBootWidget::SecureBootWidget
- Inherits:
-
CWM::CheckBox
- Object
- CWM::CheckBox
- Bootloader::SystemdBootWidget::SecureBootWidget
- Includes:
- SystemdBootHelper
- Defined in:
- src/lib/bootloader/systemdboot_widgets.rb
Overview
Represents switcher for secure boot on EFI
Instance Method Summary collapse
- #help ⇒ Object
- #init ⇒ Object
-
#initialize ⇒ SecureBootWidget
constructor
A new instance of SecureBootWidget.
- #label ⇒ Object
- #store ⇒ Object
Methods included from SystemdBootHelper
Constructor Details
#initialize ⇒ SecureBootWidget
Returns a new instance of SecureBootWidget.
80 81 82 83 84 |
# File 'src/lib/bootloader/systemdboot_widgets.rb', line 80 def initialize textdomain "bootloader" super end |
Instance Method Details
#help ⇒ Object
90 91 92 93 94 95 96 97 |
# File 'src/lib/bootloader/systemdboot_widgets.rb', line 90 def help _( "<p><b>Secure Boot Support</b> if checked enables Secure Boot support.<br>" \ "This does not turn on secure booting. " \ "It only sets up the boot loader in a way that supports secure booting. " \ "You still have to enable Secure Boot in the UEFI Firmware.</p> " ) end |
#init ⇒ Object
99 100 101 |
# File 'src/lib/bootloader/systemdboot_widgets.rb', line 99 def init self.value = systemdboot.secure_boot end |
#label ⇒ Object
86 87 88 |
# File 'src/lib/bootloader/systemdboot_widgets.rb', line 86 def label _("&Secure Boot Support") end |
#store ⇒ Object
103 104 105 |
# File 'src/lib/bootloader/systemdboot_widgets.rb', line 103 def store systemdboot.secure_boot = value end |