mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 11:12:06 +00:00
Merge pull request #3926 from holta/iiab-diagnostics_locale
iiab-diagnostics: 3 commands to record locale info
This commit is contained in:
commit
2d412405fa
2 changed files with 7 additions and 4 deletions
|
@ -162,17 +162,20 @@ for f in "$@"; do
|
|||
done
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
echo -e " 2. Regular Files:\n"
|
||||
echo -e " 2. Regular Files etc:\n"
|
||||
else
|
||||
echo -e "\n 2. Regular Files:\n"
|
||||
echo -e "\n 2. Regular Files etc:\n"
|
||||
fi
|
||||
echo -e "\n\n\n2. REGULAR FILES\n" >> $outfile
|
||||
echo -e "\n\n\n2. REGULAR FILES ETC\n" >> $outfile
|
||||
#cat_file /dev/sda # Device "file" test
|
||||
#cat_file /nonsense # Non-existence test
|
||||
#cat_file /opt/iiab/iiab # Directory test
|
||||
#cat_file /tmp/empty-file # Empty file test
|
||||
#cat_file /usr/bin/iiab-support-on # Symlink test
|
||||
cat_file /.iiab-image
|
||||
cat_file /etc/default/locale
|
||||
cat_cmd 'localectl' 'Locale settings'
|
||||
cat_cmd 'locale -a' 'Available locales'
|
||||
cat_file /etc/iiab/iiab.env
|
||||
cat_file /etc/iiab/iiab.ini
|
||||
cat_file /etc/iiab/local_vars.yml # Redacts most passwords above
|
||||
|
|
|
@ -66,4 +66,4 @@ But first off, the file is compiled by harvesting 1 + 6 kinds of things:
|
|||
|
||||
## Source Code
|
||||
|
||||
Please look over the bottom of [iiab-diagnostics](iiab-diagnostics) (lines 135-269 especially) to learn more about which common IIAB files and commands make this rapid troubleshooting possible.
|
||||
Please look over the bottom of [iiab-diagnostics](iiab-diagnostics) (lines 135-272 especially) to learn more about which common IIAB files and commands make this rapid troubleshooting possible.
|
||||
|
|
Loading…
Reference in a new issue