Class: Ardecy::Harden::CmdLine::InitOnFree

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) ⇒ InitOnFree

Returns a new instance of InitOnFree.



151
152
153
154
# File 'lib/ardecy/harden/cmdline.rb', line 151

def initialize(args)
  super
  @name = 'init_on_free=1'
end