Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/util-linux/files: crypto-loop.initd
Date: Fri, 01 Feb 2008 12:36:47
Message-Id: E1JKv8O-0007GI-JQ@stork.gentoo.org
1 flameeyes 08/02/01 12:36:44
2
3 Modified: crypto-loop.initd
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-apps/util-linux/files/crypto-loop.initd
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/files/crypto-loop.initd?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/files/crypto-loop.initd?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/files/crypto-loop.initd?r1=1.2&r2=1.3
14
15 Index: crypto-loop.initd
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-apps/util-linux/files/crypto-loop.initd,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -u -r1.2 -r1.3
21 --- crypto-loop.initd 5 Oct 2007 23:26:57 -0000 1.2
22 +++ crypto-loop.initd 1 Feb 2008 12:36:44 -0000 1.3
23 @@ -1,11 +1,16 @@
24 #!/sbin/runscript
25 # Copyright 1999-2005 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/files/crypto-loop.initd,v 1.2 2007/10/05 23:26:57 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/files/crypto-loop.initd,v 1.3 2008/02/01 12:36:44 flameeyes Exp $
29
30 depend() {
31 - need checkroot modules
32 - before localmount
33 + if [ -x /etc/init.d/root ]; then
34 + need root
35 + else
36 + need checkroot
37 + fi
38 + need modules
39 + before localmount
40 }
41
42 start() {
43
44
45
46 --
47 gentoo-commits@l.g.o mailing list