Module: Yast::NetworkRuntimeInclude

Defined in:
../../src/include/network/runtime.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) initialize_network_runtime(_include_target)



31
32
33
# File '../../src/include/network/runtime.rb', line 31

def initialize_network_runtime(_include_target)
  textdomain "network"
end

- (Object) update_mta_config

Runs external script which updates MTA's configuration.

Currently supported MTAs: - sendmail - postfix



40
41
42
43
44
45
46
47
# File '../../src/include/network/runtime.rb', line 40

def update_mta_config
  Builtins.y2milestone("Updating sendmail and/or postfix configuration.")
  SCR.Execute(
    path(".target.bash"),
    "/usr/lib/sendmail.d/update 2>/dev/null"
  )
  SCR.Execute(path(".target.bash"), "/usr/sbin/config.postfix 2>/dev/null")
end