1
0
Fork 0
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:
A Holt 2025-01-29 00:54:48 -05:00 committed by GitHub
commit 2d412405fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View file

@ -162,17 +162,20 @@ for f in "$@"; do
done done
if [ $# -eq 0 ]; then if [ $# -eq 0 ]; then
echo -e " 2. Regular Files:\n" echo -e " 2. Regular Files etc:\n"
else else
echo -e "\n 2. Regular Files:\n" echo -e "\n 2. Regular Files etc:\n"
fi 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 /dev/sda # Device "file" test
#cat_file /nonsense # Non-existence test #cat_file /nonsense # Non-existence test
#cat_file /opt/iiab/iiab # Directory test #cat_file /opt/iiab/iiab # Directory test
#cat_file /tmp/empty-file # Empty file test #cat_file /tmp/empty-file # Empty file test
#cat_file /usr/bin/iiab-support-on # Symlink test #cat_file /usr/bin/iiab-support-on # Symlink test
cat_file /.iiab-image 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.env
cat_file /etc/iiab/iiab.ini cat_file /etc/iiab/iiab.ini
cat_file /etc/iiab/local_vars.yml # Redacts most passwords above cat_file /etc/iiab/local_vars.yml # Redacts most passwords above

View file

@ -66,4 +66,4 @@ But first off, the file is compiled by harvesting 1 + 6 kinds of things:
## Source Code ## 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.