Put the keyboard into usermotd

This commit is contained in:
Anthony Rose 2023-04-21 20:09:31 +01:00
parent 69f8f2cbf6
commit 992ba2af04

View file

@ -304,12 +304,6 @@ then
fi fi
fi fi
# Print AZERTY keyboard if using the French locale.
if [ "$LANG" = "fr_FR.UTF-8" ] && [ -r "$XDG_DATA_HOME/azerty-afnor.txt" ]
then
cat "$XDG_DATA_HOME/azerty-afnor.txt"
fi
# Make a directory and immediately change to it. # Make a directory and immediately change to it.
mkcd () { mkcd () {
if [ $# -ne 1 ] if [ $# -ne 1 ]
@ -395,6 +389,12 @@ usermotd () {
else else
echo "SHELL=$SHELL" echo "SHELL=$SHELL"
fi fi
# Print AZERTY keyboard if using the French locale.
if [ "$LANG" = "fr_FR.UTF-8" ] && [ -r "$XDG_DATA_HOME/azerty-afnor.txt" ]
then
cat "$XDG_DATA_HOME/azerty-afnor.txt"
fi
} }
simpletls () { simpletls () {