From 5f1c9874caf894a38cadbccd6d6e5c30ce4f669b Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Fri, 1 Feb 2008 12:43:01 +0000 Subject: Update init script to work with current development version of OpenRC (checkroot -> root; checkfs -> fsck). (Portage version: 2.1.4.1) --- sys-fs/trustees/ChangeLog | 8 ++++++-- sys-fs/trustees/files/trustees.rc6 | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'sys-fs') diff --git a/sys-fs/trustees/ChangeLog b/sys-fs/trustees/ChangeLog index 8a530a42df29..1950c2e05c2e 100644 --- a/sys-fs/trustees/ChangeLog +++ b/sys-fs/trustees/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-fs/trustees -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/trustees/ChangeLog,v 1.9 2007/04/28 13:25:06 tove Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/trustees/ChangeLog,v 1.10 2008/02/01 12:43:01 flameeyes Exp $ + + 01 Feb 2008; Diego Pettenò files/trustees.rc6: + Update init script to work with current development version of OpenRC + (checkroot -> root; checkfs -> fsck). 28 Apr 2007; Torsten Veller trustees-2.10.ebuild: Use newinitd and newconfd (#174266) diff --git a/sys-fs/trustees/files/trustees.rc6 b/sys-fs/trustees/files/trustees.rc6 index 635a61d44d6f..230e757a1d4c 100644 --- a/sys-fs/trustees/files/trustees.rc6 +++ b/sys-fs/trustees/files/trustees.rc6 @@ -1,10 +1,14 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/trustees/files/trustees.rc6,v 1.2 2004/07/15 01:00:55 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/trustees/files/trustees.rc6,v 1.3 2008/02/01 12:43:01 flameeyes Exp $ depend() { - need checkfs + if [ -x /etc/init.d/fsck ]; then + need fsck + else + need checkfs + fi before net } -- cgit v1.2.3-65-gdbad