diff options
Diffstat (limited to 'net.Linux/ifconfig.sh')
| -rw-r--r-- | net.Linux/ifconfig.sh | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/net.Linux/ifconfig.sh b/net.Linux/ifconfig.sh index bc04cdb7..4051ef57 100644 --- a/net.Linux/ifconfig.sh +++ b/net.Linux/ifconfig.sh @@ -42,6 +42,10 @@ _is_wireless() {  	grep -Eq "^[[:space:]]*${IFACE}:" /proc/net/wireless  } +_set_flag() { +	ifconfig "${IFACE}" "$1" +} +  _get_mac_address() {  	local mac=$(LC_ALL=C ifconfig "${IFACE}" | \  	sed -n -e 's/.* HWaddr \(..:..:..:..:..:..\).*/\1/p') | 
