diff options
author | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2012-06-11 16:36:33 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2012-06-11 16:36:33 +0200 |
commit | e7d301d0c1ac4849d79aeadd2a879e120631ba7c (patch) | |
tree | 1eeabcd22b9f4fca4045d3ec272f50a093d29066 /bashrc/net | |
parent | 474f963e21b0cf30cb5ad313e1656aea0c276d0c (diff) | |
download | dotfiles-e7d301d0c1ac4849d79aeadd2a879e120631ba7c.tar.gz dotfiles-e7d301d0c1ac4849d79aeadd2a879e120631ba7c.tar.xz dotfiles-e7d301d0c1ac4849d79aeadd2a879e120631ba7c.zip |
bashrc: add possibility to change settings based on the domain
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 |