r1211 - branches/6.1.1-newmake/packages/lfs-bootscripts

justin at linuxfromscratch.org justin at linuxfromscratch.org
Sun Dec 4 08:55:20 PST 2005


Author: justin
Date: 2005-12-04 09:55:19 -0700 (Sun, 04 Dec 2005)
New Revision: 1211

Modified:
   branches/6.1.1-newmake/packages/lfs-bootscripts/clkconf
Log:
Another try at fixing ENV_TZ in login.defs for 6.1.1-newmake.

Modified: branches/6.1.1-newmake/packages/lfs-bootscripts/clkconf
===================================================================
--- branches/6.1.1-newmake/packages/lfs-bootscripts/clkconf	2005-12-03 21:28:18 UTC (rev 1210)
+++ branches/6.1.1-newmake/packages/lfs-bootscripts/clkconf	2005-12-04 16:55:19 UTC (rev 1211)
@@ -25,7 +25,7 @@
 echo "TZ=$TZ_SELECTED" >>/etc/environment
 echo "TZ=$TZ_SELECTED ; export TZ" >>/etc/sysconfig/rc
 echo "TZ=$TZ_SELECTED ; export TZ" >>/etc/profile
-sed -i "s at CST6CDT@$TZ_SELECTED at g" /etc/login.defs
+sed -i "s at CST6CDT@/etc/localtime at g" /etc/login.defs
 
 dialog --yes-label "Localtime" --no-label "GMT" \
 	--title 'Configure system clock' \




More information about the livecd mailing list