YaST2 Developers Documentation: Network configuration

Network configuration

include/network/services/dns.ycp
Hostname and DNS setup dialog

Imports

  • Arch
  • DNS
  • Hostname
  • IP
  • Label
  • Lan
  • NetworkConfig
  • Popup
  • Wizard

Includes

  • network/routines.ycp

Local Functions

local ModifyResolvConfPopup () -> boolean

If there's running a process modifying resolv.conf, present a wanrning popup and return the result.

Return value:
true if resolv.conf should be modified (ie. no process running, or user decided to do so)
local DNSMainDialog (boolean standalone) -> any

Dialog for querying DNS & hostname info

Parameters:
standalone true if not run from another ycp client
Return value:
user input
local DNSModified () -> boolean

Check if internal data differ from the dialog values

Return value:
true if differ