summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2007-11-12 00:18:35 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2007-11-12 00:18:35 +0000
commit0d7e1c0180c4a0da7653d47586c09096a7e14e83 (patch)
tree4c5fd255153aba196867c6f1f21b9d678dd63e46 /sys-cluster
parentStable on x86 wrt bug #195991 (diff)
downloadgentoo-2-0d7e1c0180c4a0da7653d47586c09096a7e14e83.tar.gz
gentoo-2-0d7e1c0180c4a0da7653d47586c09096a7e14e83.tar.bz2
gentoo-2-0d7e1c0180c4a0da7653d47586c09096a7e14e83.zip
Improved init script.
(Portage version: 2.1.3.9)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/drbd/ChangeLog5
-rw-r--r--sys-cluster/drbd/files/drbd-8.0.rc8
2 files changed, 7 insertions, 6 deletions
diff --git a/sys-cluster/drbd/ChangeLog b/sys-cluster/drbd/ChangeLog
index 29b98524ab74..14c3262846ad 100644
--- a/sys-cluster/drbd/ChangeLog
+++ b/sys-cluster/drbd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-cluster/drbd
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.79 2007/11/03 18:45:12 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.80 2007/11/12 00:18:34 xmerlin Exp $
+
+ 12 Nov 2007; Christian Zoffoli <xmerlin@gentoo.org> files/drbd-8.0.rc:
+ Improved init script.
*drbd-8.0.7 (03 Nov 2007)
diff --git a/sys-cluster/drbd/files/drbd-8.0.rc b/sys-cluster/drbd/files/drbd-8.0.rc
index 7242b9137bd7..4d4c0045105d 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.4 2007/11/03 18:45:13 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/files/drbd-8.0.rc,v 1.5 2007/11/12 00:18:35 xmerlin Exp $
opts="${opts} reload"
@@ -30,8 +30,7 @@ fi
# redirection.
$DRBDADM sh-nop
-function assure_module_is_loaded
-{
+function assure_module_is_loaded() {
[ -e "$PROC_DRBD" ] && return
ebegin "Loading drbd module"
ret=0
@@ -41,8 +40,7 @@ function assure_module_is_loaded
return $ret
}
-function adjust_with_progress
-{
+function adjust_with_progress() {
IFS_O=$IFS
NEWLINE='
'