diff options
author | Michael Imhof <tantive@gentoo.org> | 2004-08-30 13:51:12 +0000 |
---|---|---|
committer | Michael Imhof <tantive@gentoo.org> | 2004-08-30 13:51:12 +0000 |
commit | a814352cd41c0408a0a3ec665b65ab937ae85419 (patch) | |
tree | 604dc5ba6fc89fc453ee98b0758e1555db33d56e /sys-cluster/drbd/files | |
parent | Unconditionally use -fPIC for libs (#55238). (Manifest recommit) (diff) | |
download | gentoo-2-a814352cd41c0408a0a3ec665b65ab937ae85419.tar.gz gentoo-2-a814352cd41c0408a0a3ec665b65ab937ae85419.tar.bz2 gentoo-2-a814352cd41c0408a0a3ec665b65ab937ae85419.zip |
Version bumped. Fixes #56659.
Diffstat (limited to 'sys-cluster/drbd/files')
-rw-r--r-- | sys-cluster/drbd/files/0.6.12-conf.d | 2 | ||||
-rw-r--r-- | sys-cluster/drbd/files/0.6.12-init | 22 | ||||
-rw-r--r-- | sys-cluster/drbd/files/digest-drbd-0.6.12-r1 | 1 |
3 files changed, 25 insertions, 0 deletions
diff --git a/sys-cluster/drbd/files/0.6.12-conf.d b/sys-cluster/drbd/files/0.6.12-conf.d new file mode 100644 index 000000000000..8e47a0b10f6a --- /dev/null +++ b/sys-cluster/drbd/files/0.6.12-conf.d @@ -0,0 +1,2 @@ +DRBD=/drbd # This is an odd place for the script! +DRBDDEV=drbd0 diff --git a/sys-cluster/drbd/files/0.6.12-init b/sys-cluster/drbd/files/0.6.12-init new file mode 100644 index 000000000000..d617b580ef6f --- /dev/null +++ b/sys-cluster/drbd/files/0.6.12-init @@ -0,0 +1,22 @@ +#!/sbin/runscript + +depend() { + need net + before heartbeat + after sshd # In case there are sync problems +} + +start() { + ebegin "Starting drbd mirror driver" + ${DRBD} ${DRBDDEV} start + if [ "$?" == "1" ]; then # In case you decide this + eend 0 # node is primary the + fi # script returns 1 + eend $? +} + +stop() { + ebegin "Stopping drbd mirror driver" + ${DRBD} ${DRBDDEV} stop + eend $? +} diff --git a/sys-cluster/drbd/files/digest-drbd-0.6.12-r1 b/sys-cluster/drbd/files/digest-drbd-0.6.12-r1 new file mode 100644 index 000000000000..05fb3e33c4a6 --- /dev/null +++ b/sys-cluster/drbd/files/digest-drbd-0.6.12-r1 @@ -0,0 +1 @@ +MD5 b0fb5753a750d7057e42a2cbf0e66c89 drbd-0.6.12.tar.gz 217896 |