summaryrefslogblamecommitdiffstats
path: root/bashrc/node/init.sh
blob: 43482b0bedc802037ed9952cefe7792b328dd820 (plain) (tree)
1
2
3
4
5
6
7
8

                        




                                        
 


                                
# get node specific data

if env | grep HOSTNAME; then
	declare -r _NODENAME=${HOSTNAME}
else
	declare -r _NODENAME=$(hostname)
fi

if [[ -n "${_NODENAME}" ]]; then
	_load node '*'
fi