summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/drbd/files/drbd-8.0.rc')
-rw-r--r--sys-cluster/drbd/files/drbd-8.0.rc9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys-cluster/drbd/files/drbd-8.0.rc b/sys-cluster/drbd/files/drbd-8.0.rc
index a19b7df26231..1b0d430cbcbf 100644
--- a/sys-cluster/drbd/files/drbd-8.0.rc
+++ b/sys-cluster/drbd/files/drbd-8.0.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/files/drbd-8.0.rc,v 1.2 2007/07/03 14:55:13 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/files/drbd-8.0.rc,v 1.3 2007/10/28 17:07:06 xmerlin Exp $
opts="${opts} reload"
@@ -99,8 +99,13 @@ start() {
einfon "Waiting for connection "
$DRBDADM wait-con-int
- echo
ret=$?
+ echo
+
+ einfon "Become primary if configured "
+ $DRBDADM sh-b-pri all
+ echo
+
eend $ret
return $ret
}