SCR Agent for reading the result from /sbin/ifconfig
AnyAgent for reading ip address, broadcast and netmask (as the ip4numbers) of running network interfaces from ifconfig output Returns a list of maps. Each map (list-entry) corresponds with one network interface.
Access type: read-only
File Name:
/usr/share/YaST2/scrconf/run_ifconfig.scr
See: anyagent libscr man ifconfig
Example 80.
Read(.run.ifconfig) ([$["name":"eth0", "value":$["flags":["UP", "BROADCAST", "RUNNING", "MULTICAST", " MTU:1500", " Metric:1"], "inet":$["addr":168427678, "bcast":168493055, "mask":4294901760], "link":"Link encap:Ethernet HWaddr 00:00:1C:B5:A8:5A " ] ], $["name":"lo", "value":$["flags":["UP", "LOOPBACK", "RUNNING", " MTU:3924", " Metric:1"], "inet":$["addr":2130706433, "mask":4278190080], "link":"Link encap:Local Loopback "] ] ])