1 2 3 4 5 6 7
shell=`/bin/basename \`/bin/ps -p $$ -ocomm=\`` if [ -f /usr/share/Modules/init/$shell ] then . /usr/share/Modules/init/$shell else . /usr/share/Modules/init/sh fi