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

svn at pcbsd.org svn at pcbsd.org
Mon Jul 7 08:26:39 PDT 2008


Author: kris
Date: 2008-07-07 08:26:38 -0700 (Mon, 07 Jul 2008)
New Revision: 2289

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

Fixed the laptop script to also disable NumLock properly during install



Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.LaptopSetup.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.LaptopSetup.sh	2008-07-07 14:55:57 UTC (rev 2288)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.LaptopSetup.sh	2008-07-07 15:26:38 UTC (rev 2289)
@@ -5,7 +5,7 @@
 
 # Disable the numlock setup
 #Change the skel files
-sed -e "s/NumLock=0/NumLock=1/g" ${FSMNT}/usr/share/skel/.kde/share/config/kcminputrc  > ${FSMNT}/tmp/sed
+sed -e "s/NumLock=2/NumLock=0/g" ${FSMNT}/usr/share/skel/.kde/share/config/kcminputrc  > ${FSMNT}/tmp/sed
 
 mv ${FSMNT}/tmp/sed ${FSMNT}/usr/share/skel/.kde/share/config/kcminputrc
 
@@ -13,7 +13,7 @@
 cd ${FSMNT}/usr/home
 for i in `ls`
 do
-sed -e "s/NumLock=0/NumLock=1/g" ${FSMNT}/usr/home/${i}/.kde/share/config/kcminputrc  > ${FSMNT}/tmp/sed
+sed -e "s/NumLock=2/NumLock=0/g" ${FSMNT}/usr/home/${i}/.kde/share/config/kcminputrc  > ${FSMNT}/tmp/sed
 
 mv ${FSMNT}/tmp/sed ${FSMNT}/usr/home/${i}/.kde/share/config/kcminputrc
 done



More information about the Commits mailing list