From e4e02fec30951c65bb161bde4ac827c5497226c4 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Wed, 9 Aug 2006 14:44:38 +0000 Subject: [PATCH] Added code to make a backup of custom.conf before we edit it for the installer. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1168 d1e1f19c-881f-0410-ab34-b69fee027534 --- ChangeLog | 6 +++++- targets/support/livecdfs-update.sh | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1a9ecc64..01b3c017 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.652 2006/07/29 18:35:06 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.653 2006/08/09 14:44:38 wolf31o2 Exp $ + + 09 Aug 2006; Chris Gianelloni + targets/support/livecdfs-update.sh: + Added code to make a backup of custom.conf before we edit it for the installer. 29 Jul 2006; Chris Gianelloni catalyst, targets/support/livecdfs-update.sh: diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh index 52d3333d..764c7656 100755 --- a/targets/support/livecdfs-update.sh +++ b/targets/support/livecdfs-update.sh @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/livecdfs-update.sh,v 1.58 2006/07/29 18:35:07 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/livecdfs-update.sh,v 1.59 2006/08/09 14:44:38 wolf31o2 Exp $ . /tmp/chroot-functions.sh @@ -282,6 +282,8 @@ case ${clst_livecd_type} in sedxtra="" fi + cp -f /etc/X11/gdm/custom.con /etc/X11/gdm/custom.conf.old + sed -i \ -e "s:\(\[daemon\]\)$:\1\nTimedLoginEnable=true\nTimedLoginDelay=10${sedxtra}:" \ -e 's:\(\[greeter\]\)$:\1\nGraphicalTheme=gentoo-emergence:' \ -- 2.26.2