updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / drbd / drbd.install
blob5686f0dac8db0dc708ab3b06ad4cfa438b067544
1 # arg 1:  the new package version
2 post_install() {
3 cat << EOF
4 Please configure  /etc/drbd.conf then "depmod -a; modprobe drbd" to test it.
5 Use drbdadm and drbdsetup tools to work with the drbd device(s).
6 You may want to use hearbeat package for high availability linux services.
8  
9 EOF
12 # arg 1:  the new package version
13 # arg 2:  the old package version
14 post_upgrade() {
15   post_install $1
18 pre_remove()
20 modprobe -r drbd
22 op=$1
23 shift
24 $op $*