Gentoo Archives: gentoo-commits

From: "Christian Zoffoli (xmerlin)" <xmerlin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/drbd/files: drbd-8.0.rc
Date: Sun, 28 Oct 2007 17:07:12
Message-Id: E1ImBbP-0007BY-5b@stork.gentoo.org
1 xmerlin 07/10/28 17:07:07
2
3 Modified: drbd-8.0.rc
4 Log:
5 Enhancement: now the init script promote DRBD devices to primary role when enabled in drbd.conf, thanks to Francisco Javier <ffelix@××××××.com>.
6 (Portage version: 2.1.3.9)
7
8 Revision Changes Path
9 1.3 sys-cluster/drbd/files/drbd-8.0.rc
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/drbd/files/drbd-8.0.rc?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/drbd/files/drbd-8.0.rc?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/drbd/files/drbd-8.0.rc?r1=1.2&r2=1.3
14
15 Index: drbd-8.0.rc
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/drbd/files/drbd-8.0.rc,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -u -r1.2 -r1.3
21 --- drbd-8.0.rc 3 Jul 2007 14:55:13 -0000 1.2
22 +++ drbd-8.0.rc 28 Oct 2007 17:07:06 -0000 1.3
23 @@ -1,7 +1,7 @@
24 #!/sbin/runscript
25 # Copyright 1999-2007 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License, v2 or later
27 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/files/drbd-8.0.rc,v 1.2 2007/07/03 14:55:13 xmerlin Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/files/drbd-8.0.rc,v 1.3 2007/10/28 17:07:06 xmerlin Exp $
29
30 opts="${opts} reload"
31
32 @@ -99,8 +99,13 @@
33
34 einfon "Waiting for connection "
35 $DRBDADM wait-con-int
36 - echo
37 ret=$?
38 + echo
39 +
40 + einfon "Become primary if configured "
41 + $DRBDADM sh-b-pri all
42 + echo
43 +
44 eend $ret
45 return $ret
46 }
47
48
49
50 --
51 gentoo-commits@g.o mailing list