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

justin at linuxfromscratch.org justin at linuxfromscratch.org
Fri Dec 2 20:59:13 PST 2005


Author: justin
Date: 2005-12-02 21:59:13 -0700 (Fri, 02 Dec 2005)
New Revision: 1206

Modified:
   branches/6.1.1-newmake/packages/lfs-bootscripts/clkconf
Log:
Fix clkconf to replace hardcoded timezone 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 04:45:11 UTC (rev 1205)
+++ branches/6.1.1-newmake/packages/lfs-bootscripts/clkconf	2005-12-03 04:59:13 UTC (rev 1206)
@@ -25,6 +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
 
 dialog --yes-label "Localtime" --no-label "GMT" \
 	--title 'Configure system clock' \




More information about the livecd mailing list