Class: Yast::SaveNetworkClient

Inherits:
Client
  • Object
show all
Includes:
Logger, Y2Network::Helpers
Defined in:
src/lib/network/clients/save_network.rb

Constant Summary

Constants included from Y2Network::Helpers

Y2Network::Helpers::ROOT_PATH

Instance Method Summary collapse

Methods included from Y2Network::Helpers

#copy_to_target, #inst_dir

Constructor Details

#initializeSaveNetworkClient

Returns a new instance of SaveNetworkClient.



35
36
37
38
# File 'src/lib/network/clients/save_network.rb', line 35

def initialize
  super
  textdomain "network"
end

Instance Method Details

#mainObject



40
41
42
43
44
45
46
47
# File 'src/lib/network/clients/save_network.rb', line 40

def main
  # for update system don't copy network from inst_sys (#325738)
  return save_network if !Mode.update

  log.info("update - skip save_network")

  nil
end