xen-drbd

annotate INSTALL @ 0:b6dc3480caae

xen-drbd merge
author igor
date Thu Sep 27 18:56:29 2007 +0300 (2007-09-27)
parents
children 7af6c8ecdf0c
rev   line source
igor@0 1 #!/bin/sh
igor@0 2
igor@0 3 DEST_DIR=/usr/bin
igor@0 4
igor@0 5 cp init.d-xen-drbd /etc/init.d/xen-drbd
igor@0 6 chmod +x /etc/init.d/xen-drbd
igor@0 7
igor@0 8 cp xen-scripts-network-xen-drbd /etc/xen/scripts/network-xen-drbd
igor@0 9 chmod +x /etc/xen/scripts/network-xen-drbd
igor@0 10
igor@0 11 cp default-xen-drbd /etc/default/xen-drbd
igor@0 12 cp xen-drbd-start.py /etc/xen/xen-drbd-start
igor@0 13 cp xen-drbd.py ${DEST_DIR}
igor@0 14
igor@0 15 for i in 2 3 4 5
igor@0 16 do
igor@0 17 ln -sf ../init.d/xen-drbd /etc/rc$i.d/S95xen-drbd
igor@0 18 #rm /etc/rc$i.d/S22xen-drbd
igor@0 19 done
igor@0 20
igor@0 21 for i in 0 1 6
igor@0 22 do
igor@0 23 ln -sf ../init.d/xen-drbd /etc/rc$i.d/K05xen-drbd
igor@0 24 #rm /etc/rc$i.d/K21xen-drbd
igor@0 25 done
igor@0 26
igor@0 27