Class: Ardecy::Harden::CmdLine::PtiOn

Inherits:
LineInc
  • Object
show all
Defined in:
lib/ardecy/harden/cmdline.rb

Instance Method Summary collapse

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

#mv, #sed

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