![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /etc/profile.d/ |
scl() { if [ "$1" = "load" -o "$1" = "unload" ]; then # It is possible that function module is not declared in time of this # declaration so eval is used instead of direct calling of function module eval "module $@" else /usr/bin/scl "$@" fi } shell=`/bin/basename \`/bin/ps -p $$ -ocomm=\`` [ "$shell" = "bash" ] && export -f scl # export -f works only in bash MODULESHOME=/usr/share/Modules export MODULESHOME if [ "${MODULEPATH:-}" = "" ]; then MODULEPATH=`sed -n 's/[ #].*$//; /./H; $ { x; s/^\n//; s/\n/:/g; p; }' ${MODULESHOME}/init/.modulespath` fi MODULEPATH=/etc/scl/modulefiles:$MODULEPATH export MODULEPATH