[PC-BSD Commits] r657 - pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts

svn at pcbsd.org svn at pcbsd.org
Sun Sep 2 16:23:11 PDT 2007


Author: kris
Date: 2007-09-02 16:23:10 -0700 (Sun, 02 Sep 2007)
New Revision: 657

Modified:
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SaveKeyboard.sh
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SetKeyboard.sh
Log:

Set the Japanese keyboard to "jp106" when selected. 



Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SaveKeyboard.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SaveKeyboard.sh	2007-09-02 23:16:22 UTC (rev 656)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SaveKeyboard.sh	2007-09-02 23:23:10 UTC (rev 657)
@@ -40,4 +40,17 @@
 
 done
 
+if [ "${1}" = "ja" ]
+then
+
+for i in $HEADERS
+do
+
+XF86_CFG="/mnt/PCBSD/xorg-gui/templates/header/${i}"
+cp ${XF86_CFG} ${XF86_TMP_CFG}
+sed "s/\"pc105\"/\"jp106\"/" < ${XF86_TMP_CFG} > ${XF86_CFG}
+rm -f ${XF86_TMP_CFG}
+
+done
+
 fi

Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SetKeyboard.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SetKeyboard.sh	2007-09-02 23:16:22 UTC (rev 656)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SetKeyboard.sh	2007-09-02 23:23:10 UTC (rev 657)
@@ -2,6 +2,7 @@
 
 case ${1} in
    br) map="abnt2" ;; # Brazilian
+   ja) map="jp106" ;; # Japanese
     *) map="pc104" ;;
 esac
 



More information about the Commits mailing list