Class: Ardecy::Harden::CmdLine::PtiOn
- Defined in:
- lib/ardecy/harden/cmdline.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ PtiOn
constructor
A new instance of PtiOn.
Methods inherited from LineInc
#apply_bootctl, #apply_grub, #apply_syslinux, #fix, #get_bootctl_line, #get_grub_line, #get_syslinux_line, #scan, #write_to_grub, #x
Methods included from NiTo
Methods included from Display
#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title
Constructor Details
#initialize(args) ⇒ PtiOn
Returns a new instance of PtiOn.
166 167 168 169 170 |
# File 'lib/ardecy/harden/cmdline.rb', line 166 def initialize(args) super @name = 'pti=on' @tab = 5 end |