]> TLD Linux GIT Repositories - rc-scripts.git/blob - lang.csh
- disable lock checks (happens on LUKS2 and fails during system boot)
[rc-scripts.git] / lang.csh
1 #!/bin/csh
2 #
3 #
4 # FIXME: this file is broken, as you can see it does nothing (does not actually load i18n file)
5 # TODO: sync with lang.sh
6 #
7
8 test -f /etc/sysconfig/i18n
9 if ($status == 0) then
10         if ($?LANG) then
11                 setenv LANG
12         endif
13         if ($?LC_ALL) then
14                 setenv LC_ALL
15         endif
16         if ($?LINGUAS) then
17                 setenv LINGUAS
18         endif
19         if ($?SYSTERM) then
20                 setenv TERM=$SYSTERM
21         endif
22         if ($?_XKB_CHARSET) then
23                 setenv _XKB_CHARSET
24         endif
25         if ($?INPUTRC) then
26                 setenv INPUTRC
27         endif
28         if ($?LESSCHARSET) then
29                 setenv LESSCHARSET
30         else if ($TERM == linux-lat) then
31                 setenv LESSCHARSET latin1
32         endif
33 endif