summaryrefslogtreecommitdiffstats
path: root/bashrc/net/init.sh
blob: 45ee3c4c1b829f153e541fc5d096fe225ae8b436 (plain) (blame)
1
2
3
4
5
6
7
# get net specific data
declare -r _FQDN=$(hostname -f 2>/dev/null)
declare -r _NETNAME=${_FQDN#*.}

if [[ -n "${_NETNAME}" ]]; then
	_load net '*'
fi