Class: Bootloader::SecureBootWidget
- Inherits:
-
CWM::CheckBox
- Object
- CWM::CheckBox
- Bootloader::SecureBootWidget
show all
- Includes:
- Grub2Widget
- Defined in:
- src/lib/bootloader/grub2_widgets.rb
Overview
Represents switcher for secure boot on EFI
Instance Method Summary
(collapse)
#grub2, #grub_default, #password, #sections, #stage1
Constructor Details
Returns a new instance of SecureBootWidget
264
265
266
|
# File 'src/lib/bootloader/grub2_widgets.rb', line 264
def initialize
textdomain "bootloader"
end
|
Instance Method Details
- (Object) help
272
273
274
|
# File 'src/lib/bootloader/grub2_widgets.rb', line 272
def help
_("Tick to enable UEFI Secure Boot\n")
end
|
- (Object) init
276
277
278
|
# File 'src/lib/bootloader/grub2_widgets.rb', line 276
def init
self.value = grub2.secure_boot
end
|
- (Object) label
268
269
270
|
# File 'src/lib/bootloader/grub2_widgets.rb', line 268
def label
_("Enable &Secure Boot Support")
end
|
- (Object) store
280
281
282
|
# File 'src/lib/bootloader/grub2_widgets.rb', line 280
def store
grub2.secure_boot = value
end
|