Add keymap "sf", i.e. Switzerland (French) from Pentoo

cleanup-cruft
Sebastian Pipping 13 years ago
parent 4a88be842d
commit 4d8287c3d0

@ -575,6 +575,7 @@ chooseKeymap() {
40|uk) keymap=uk ;; 40|uk) keymap=uk ;;
41|us) keymap=us ;; 41|us) keymap=us ;;
42|wangbe) keymap=wangbe ;; 42|wangbe) keymap=wangbe ;;
43|sf|ch*) keymap=sf ;;
esac esac
fi fi
if [ -e /lib/keymaps/${keymap}.map ] if [ -e /lib/keymaps/${keymap}.map ]
@ -585,7 +586,7 @@ chooseKeymap() {
# echo ${keymap} | egrep -e "[0-9]+" >/dev/null 2>&1 # echo ${keymap} | egrep -e "[0-9]+" >/dev/null 2>&1
# if [ $? -eq 0 ] # if [ $? -eq 0 ]
# then # then
# xkeymap=`tail -n 7 /lib/keymaps/keymapList | grep ${keymap} | sed -r "s/.*\s+${keymap}\s+([a-z-]+).*/\1/g" | egrep -v 1` # xkeymap=`tail -n 8 /lib/keymaps/keymapList | grep ${keymap} | sed -r "s/.*\s+${keymap}\s+([a-z-]+).*/\1/g" | egrep -v 1`
# fi # fi
mkdir -p /etc/sysconfig mkdir -p /etc/sysconfig
# echo "XKEYBOARD=${xkeymap}" > /etc/sysconfig/keyboard # echo "XKEYBOARD=${xkeymap}" > /etc/sysconfig/keyboard

@ -1,10 +1,10 @@
Please select a keymap from the following list by typing in the appropriate Please select a keymap from the following list by typing in the appropriate
name or number. Hit Enter for the default "us/41" US English keymap. name or number. Hit Enter for the default "us/41" US English keymap.
1 azerty 7 cf 13 es 19 il 25 mk 31 ru 37 trf 1 azerty 8 croat 15 fi 22 jp 29 pt 36 slovene 43 sf
2 be 8 croat 14 et 20 is 26 nl 32 se 2 be 9 cz 16 fr 23 la 30 ro 37 trf
3 bg 9 cz 15 fi 21 it 27 no 33 sg 39 ua 3 bg 10 de 17 gr 24 lt 31 ru
4 br-a 10 de 16 fr 22 jp 28 pl 34 sk-y 40 uk 4 br-a 11 dk 18 hu 25 mk 32 se 39 ua
5 br-l 11 dk 17 gr 23 la 29 pt 35 sk-z 41 us 5 br-l 12 dvorak 19 il 26 nl 33 sg 40 uk
6 by 12 dvorak 18 hu 24 lt 30 ro 36 slovene 42 wangbe 6 by 13 es 20 is 27 no 34 sk-y 41 us
7 cf 14 et 21 it 28 pl 35 sk-z 42 wangbe

Binary file not shown.
Loading…
Cancel
Save