From: | "Diego Petteno (flameeyes)" <flameeyes@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-fs/trustees/files: trustees.rc6 |
Date: | Fri, 01 Feb 2008 12:43:04 |
Message-Id: | E1JKvEU-0007cv-E8@stork.gentoo.org |
1 | flameeyes 08/02/01 12:43:02 |
2 | |
3 | Modified: trustees.rc6 |
4 | Log: |
5 | Update init script to work with current development version of OpenRC (checkroot -> root; checkfs -> fsck). |
6 | (Portage version: 2.1.4.1) |
7 | |
8 | Revision Changes Path |
9 | 1.3 sys-fs/trustees/files/trustees.rc6 |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/trustees/files/trustees.rc6?rev=1.3&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/trustees/files/trustees.rc6?rev=1.3&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/trustees/files/trustees.rc6?r1=1.2&r2=1.3 |
14 | |
15 | Index: trustees.rc6 |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/sys-fs/trustees/files/trustees.rc6,v |
18 | retrieving revision 1.2 |
19 | retrieving revision 1.3 |
20 | diff -u -r1.2 -r1.3 |
21 | --- trustees.rc6 15 Jul 2004 01:00:55 -0000 1.2 |
22 | +++ trustees.rc6 1 Feb 2008 12:43:01 -0000 1.3 |
23 | @@ -1,10 +1,14 @@ |
24 | #!/sbin/runscript |
25 | # Copyright 1999-2004 Gentoo Foundation |
26 | # Distributed under the terms of the GNU General Public License v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sys-fs/trustees/files/trustees.rc6,v 1.2 2004/07/15 01:00:55 agriffis Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sys-fs/trustees/files/trustees.rc6,v 1.3 2008/02/01 12:43:01 flameeyes Exp $ |
29 | |
30 | depend() { |
31 | - need checkfs |
32 | + if [ -x /etc/init.d/fsck ]; then |
33 | + need fsck |
34 | + else |
35 | + need checkfs |
36 | + fi |
37 | before net |
38 | } |
39 | |
40 | |
41 | |
42 | |
43 | -- |
44 | gentoo-commits@l.g.o mailing list |