diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-02-01 12:43:01 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-02-01 12:43:01 +0000 |
commit | 5f1c9874caf894a38cadbccd6d6e5c30ce4f669b (patch) | |
tree | eabe12f1ae3f11d9c3f43435b946cdbd910b30ea /sys-fs | |
parent | stable x86, bug 208366 (diff) | |
download | gentoo-2-5f1c9874caf894a38cadbccd6d6e5c30ce4f669b.tar.gz gentoo-2-5f1c9874caf894a38cadbccd6d6e5c30ce4f669b.tar.bz2 gentoo-2-5f1c9874caf894a38cadbccd6d6e5c30ce4f669b.zip |
Update init script to work with current development version of OpenRC (checkroot -> root; checkfs -> fsck).
(Portage version: 2.1.4.1)
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/trustees/ChangeLog | 8 | ||||
-rw-r--r-- | sys-fs/trustees/files/trustees.rc6 | 8 |
2 files changed, 12 insertions, 4 deletions
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ò <flameeyes@gentoo.org> files/trustees.rc6: + Update init script to work with current development version of OpenRC + (checkroot -> root; checkfs -> fsck). 28 Apr 2007; Torsten Veller <tove@gentoo.org> 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 } |