From: Sebastian Pipping Date: Mon, 9 Apr 2012 01:36:55 +0000 (+0200) Subject: Add keymap "sf", i.e. Switzerland (French) from Pentoo X-Git-Tag: v3.4.30~8^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4d8287c3d0a2fac6c8fc7b0347671acaa50d6c90;p=genkernel.git Add keymap "sf", i.e. Switzerland (French) from Pentoo --- diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index 6d27a00..8aad72b 100755 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -575,6 +575,7 @@ chooseKeymap() { 40|uk) keymap=uk ;; 41|us) keymap=us ;; 42|wangbe) keymap=wangbe ;; + 43|sf|ch*) keymap=sf ;; esac fi if [ -e /lib/keymaps/${keymap}.map ] @@ -585,7 +586,7 @@ chooseKeymap() { # echo ${keymap} | egrep -e "[0-9]+" >/dev/null 2>&1 # if [ $? -eq 0 ] # 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 mkdir -p /etc/sysconfig # echo "XKEYBOARD=${xkeymap}" > /etc/sysconfig/keyboard diff --git a/defaults/keymaps/43.map b/defaults/keymaps/43.map new file mode 120000 index 0000000..a0cb60e --- /dev/null +++ b/defaults/keymaps/43.map @@ -0,0 +1 @@ +sf.map \ No newline at end of file diff --git a/defaults/keymaps/keymapList b/defaults/keymaps/keymapList index 182b3e6..271648c 100644 --- a/defaults/keymaps/keymapList +++ b/defaults/keymaps/keymapList @@ -1,10 +1,10 @@ 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. - 1 azerty 7 cf 13 es 19 il 25 mk 31 ru 37 trf - 2 be 8 croat 14 et 20 is 26 nl 32 se - 3 bg 9 cz 15 fi 21 it 27 no 33 sg 39 ua - 4 br-a 10 de 16 fr 22 jp 28 pl 34 sk-y 40 uk - 5 br-l 11 dk 17 gr 23 la 29 pt 35 sk-z 41 us - 6 by 12 dvorak 18 hu 24 lt 30 ro 36 slovene 42 wangbe - + 1 azerty 8 croat 15 fi 22 jp 29 pt 36 slovene 43 sf + 2 be 9 cz 16 fr 23 la 30 ro 37 trf + 3 bg 10 de 17 gr 24 lt 31 ru + 4 br-a 11 dk 18 hu 25 mk 32 se 39 ua + 5 br-l 12 dvorak 19 il 26 nl 33 sg 40 uk + 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 diff --git a/defaults/keymaps/sf.map b/defaults/keymaps/sf.map new file mode 100644 index 0000000..0e83a7c Binary files /dev/null and b/defaults/keymaps/sf.map differ