Class: Ardecy::Harden::Sysctl::SysNet

Inherits:
SysKern
  • Object
show all
Defined in:
lib/ardecy/harden/sysctl.rb

Instance Method Summary collapse

Methods inherited from SysKern

#initialize, #repair, #scan, #x

Methods included from Display

#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title

Constructor Details

This class inherits a constructor from Ardecy::Harden::Sysctl::SysKern

Instance Method Details

#fixObject



60
61
62
63
64
# File 'lib/ardecy/harden/sysctl.rb', line 60

def fix
  return unless File.exist? @file

  NETWORK << "#{@line} = #{@exp}"
end