diff options
Diffstat (limited to 'bashrc/net')
-rw-r--r-- | bashrc/net/init.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bashrc/net/init.sh b/bashrc/net/init.sh new file mode 100644 index 0000000..61f64f2 --- /dev/null +++ b/bashrc/net/init.sh @@ -0,0 +1,7 @@ +# get net specific data +declare -r _FQDN=$(hostname -f) +declare -r _NETNAME=${_FQDN#*.} + +if [[ -n "${_NETNAME}" ]]; then + _load net '*' +fi |