Module: Yast::NetworkRuntimeInclude

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

Instance Method Summary collapse

Instance Method Details

#initialize_network_runtime(_include_target) ⇒ Object



29
30
31
# File 'src/include/network/runtime.rb', line 29

def initialize_network_runtime(_include_target)
  textdomain "network"
end

#update_mta_configObject

Runs external script which updates MTA's configuration.

Currently supported MTAs:

  • sendmail
  • postfix


38
39
40
41
42
43
44
# File 'src/include/network/runtime.rb', line 38

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"
  )
end