Module: Getch::Config

Defined in:
lib/getch/config.rb,
lib/getch/config/iwd.rb,
lib/getch/config/dhcp.rb,
lib/getch/config/grub.rb,
lib/getch/config/void.rb,
lib/getch/config/keymap.rb,
lib/getch/config/locale.rb,
lib/getch/config/account.rb,
lib/getch/config/portage.rb,
lib/getch/config/timezone.rb,
lib/getch/config/pre_network.rb

Overview

configurations for the new system

Defined Under Namespace

Classes: Account, Dhcp, Grub, Iwd, Keymap, Locale, Portage, PreNetwork, TimeZone, Void

Instance Method Summary collapse

Instance Method Details

#sysctlObject



6
7
8
9
10
11
12
13
# File 'lib/getch/config.rb', line 6

def sysctl
  pwd = File.expand_path(__dir__)
  dest = "#{Getch::MOUNTPOINT}/etc/sysctl.d/"

  mkdir dest
  Helpers.cp("#{pwd}/../../assets/network-stack.conf", dest)
  Helpers.cp("#{pwd}/../../assets/system.conf", dest)
end