| Server IP : 104.21.37.246 / Your IP : 104.23.243.32 [ Web Server : Apache System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64 User : cp648411 ( 1354) PHP Version : 7.2.34 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /etc/profile.d/ |
Upload File : |
# /etc/profile.d/lang.csh - set i18n stuff
set sourced=0
if ($?LANG) then
set saved_lang=$LANG
if ( -f "$HOME/.i18n" ) then
eval `grep -v '^[[:blank:]]*#' "$HOME/.i18n" | sed 's|\([^=]*\)=\([^=]*\)|setenv \1 \2|g' | sed 's|$|;|'`
set sourced=1
endif
setenv LANG $saved_lang
unset saved_lang
else
foreach file (/etc/sysconfig/i18n "$HOME/.i18n")
if ( -f $file ) then
eval `grep -v '^[[:blank:]]*#' $file | sed 's|\([^=]*\)=\([^=]*\)|setenv \1 \2|g' | sed 's|$|;|'`
set sourced=1
endif
end
endif
if ($sourced == 1) then
if ($?LC_ALL && $?LANG) then
if ($LC_ALL == $LANG) then
unsetenv LC_ALL
endif
endif
set consoletype=`/sbin/consoletype stdout`
if ($?LANG) then
switch ($LANG)
case *.utf8*:
case *.UTF-8*:
if ( $?TERM ) then
if ( "$TERM" == "linux" ) then
if ( "$consoletype" == "vt" ) then
switch ($LANG)
case en_IN*:
breaksw
case ja*:
case ko*:
case si*:
case zh*:
case ar*:
case fa*:
case he*:
case *_IN*:
setenv LANG en_US.UTF-8
breaksw
endsw
endif
endif
endif
breaksw
case *:
if ( $?TERM ) then
if ( "$TERM" == "linux" ) then
if ( "$consoletype" == "vt" ) then
switch ($LANG)
case en_IN*:
breaksw
case ja*:
case ko*:
case si*:
case zh*:
case ar*:
case fa*:
case he*:
case *_IN*:
setenv LANG en_US
breaksw
endsw
endif
endif
endif
breaksw
endsw
endif
unsetenv SYSFONTACM
unsetenv SYSFONT
unsetenv consoletype
endif