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.
56 57 58 59 60 |
# File 'src/lib/bootloader/systemdboot_widgets.rb', line 56 def initialize textdomain "bootloader" super end |
Instance Method Details
#help ⇒ Object
66 67 68 69 70 71 72 73 |
# File 'src/lib/bootloader/systemdboot_widgets.rb', line 66 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
75 76 77 |
# File 'src/lib/bootloader/systemdboot_widgets.rb', line 75 def init self.value = systemdboot.secure_boot end |
#label ⇒ Object
62 63 64 |
# File 'src/lib/bootloader/systemdboot_widgets.rb', line 62 def label _("&Secure Boot Support") end |
#store ⇒ Object
79 80 81 |
# File 'src/lib/bootloader/systemdboot_widgets.rb', line 79 def store systemdboot.secure_boot = value end |