From f8f2e2437fadf8dc6551d236c279796d160d43f1 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Wed, 19 Apr 2006 14:45:02 +0000 Subject: [PATCH] Removed runlevel deletion, as it probably wasn't a good idea. This is for bug #130476. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1117 d1e1f19c-881f-0410-ab34-b69fee027534 --- ChangeLog | 7 ++++++- targets/support/rc-update.sh | 9 --------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index d2356667..90935899 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.602 2006/04/19 14:28:40 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.603 2006/04/19 14:45:00 wolf31o2 Exp $ + + 19 Apr 2006; Chris Gianelloni + targets/support/rc-update.sh: + Removed runlevel deletion, as it probably wasn't a good idea. This is for + bug #130476. 19 Apr 2006; Chris Gianelloni targets/support/bootloader-setup.sh: diff --git a/targets/support/rc-update.sh b/targets/support/rc-update.sh index d9183f7f..286284fd 100644 --- a/targets/support/rc-update.sh +++ b/targets/support/rc-update.sh @@ -63,15 +63,6 @@ then do rc-update del "${x%%|*}" "${x##*|}" done - for x in $(ls /etc/runlevels) - do - CONTENTS=$(find /etc/runlevels/${x} -type f) - if [ -z "${CONTENTS}" ] - then - echo "${x}: Empty runlevel found.... deleting" - rmdir "/etc/runlevels/${x}" - fi - done fi fi -- 2.26.2