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

svn at pcbsd.org svn at pcbsd.org
Fri Jun 8 19:23:35 PDT 2007


Author: kris
Date: 2007-06-09 03:23:34 +0100 (Sat, 09 Jun 2007)
New Revision: 318

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

Changed SysConfig to reflect changes detecting BSDStats option from GUI



Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh	2007-06-09 02:20:28 UTC (rev 317)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh	2007-06-09 02:23:34 UTC (rev 318)
@@ -1,7 +1,14 @@
 #!/bin/sh
 
 LANG="${1}"
+KEYLAYOUT="${2}"
 
+if [ "${1}" = "IGNORE" ]
+then
+  LANG="" ; export LANG
+  KEYLAYOUT="" ; export KEYLAYOUT
+fi
+
 if [ "${4}" = "1" ]
 then
    echo "bsdstats_enable=\"YES\"" >> /mnt/etc/rc.conf
@@ -38,7 +45,7 @@
 
 
 # Setup the keyboard as its supposed to be
-/usr/local/pcbsd/scripts/PCBSD.SaveKeyboard.sh ${2}
+/usr/local/pcbsd/scripts/PCBSD.SaveKeyboard.sh ${KEYLAYOUT} 
 
 
 # Setup the proper boot-loader 



More information about the Commits mailing list