/etc/csh/login.d/modules is in environment-modules 3.2.10-8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | #----------------------------------------------------------------------#
# system-wide csh.modules #
# Initialize modules for all csh-derivative shells #
#----------------------------------------------------------------------#
if ($?tcsh) then
set modules_shell="tcsh"
else
set modules_shell="csh"
endif
source /usr/share/modules/init/${modules_shell}
unset modules_shell
|