From: | "Doug Goldstein (cardoe)" <cardoe@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-fs/device-mapper/files: device-mapper.rc-1.02.22-r2 device-mapper.rc-r1 |
Date: | Thu, 04 Oct 2007 14:39:40 |
Message-Id: | E1IdRib-0005ld-3D@stork.gentoo.org |
1 | cardoe 07/10/04 14:30:25 |
2 | |
3 | Added: device-mapper.rc-1.02.22-r2 |
4 | Removed: device-mapper.rc-r1 |
5 | Log: |
6 | rename device-mapper.rc-r1 to device-mapper.rc-1.02.22-r2 to make it clear what version we started using it at |
7 | (Portage version: 2.1.3.11) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-fs/device-mapper/files/device-mapper.rc-1.02.22-r2 |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/device-mapper/files/device-mapper.rc-1.02.22-r2?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/device-mapper/files/device-mapper.rc-1.02.22-r2?rev=1.1&content-type=text/plain |
14 | |
15 | Index: device-mapper.rc-1.02.22-r2 |
16 | =================================================================== |
17 | #!/sbin/runscript |
18 | # Copyright 1999-2007 Gentoo Foundation |
19 | # Distributed under the terms of the GNU General Public License v2 |
20 | # $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/files/device-mapper.rc-1.02.22-r2,v 1.1 2007/10/04 14:30:24 cardoe Exp $ |
21 | |
22 | depend() { |
23 | if [ -e /lib/librc.so ]; then |
24 | # on baselayout-1 this causes |
25 | # a dependency loop with checkroot (before *) |
26 | before checkroot |
27 | fi |
28 | } |
29 | |
30 | start() { |
31 | if [ ! -e /lib/librc.so ]; then |
32 | eerror "The ${SVCNAME} init script is written for baselayout-2" |
33 | eerror "Please do not use it with baselayout-1" |
34 | return 1 |
35 | fi |
36 | |
37 | start_addon dm |
38 | } |
39 | |
40 | |
41 | |
42 | |
43 | -- |
44 | gentoo-commits@g.o mailing list |