xen-drbd
diff INSTALL @ 1:d6f7c53b085d
several changes
author | eb |
---|---|
date | Thu Sep 27 23:27:58 2007 +0300 (2007-09-27) |
parents | |
children | 7af6c8ecdf0c |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/INSTALL Thu Sep 27 23:27:58 2007 +0300 1.3 @@ -0,0 +1,27 @@ 1.4 +#!/bin/sh 1.5 + 1.6 +DEST_DIR=/usr/bin 1.7 + 1.8 +cp init.d-xen-drbd /etc/init.d/xen-drbd 1.9 +chmod +x /etc/init.d/xen-drbd 1.10 + 1.11 +cp xen-scripts-network-xen-drbd /etc/xen/scripts/network-xen-drbd 1.12 +chmod +x /etc/xen/scripts/network-xen-drbd 1.13 + 1.14 +cp default-xen-drbd /etc/default/xen-drbd 1.15 +cp xen-drbd-start.py /etc/xen/xen-drbd-start 1.16 +cp xen-drbd.py ${DEST_DIR} 1.17 + 1.18 +for i in 2 3 4 5 1.19 +do 1.20 + ln -sf ../init.d/xen-drbd /etc/rc$i.d/S95xen-drbd 1.21 + #rm /etc/rc$i.d/S22xen-drbd 1.22 +done 1.23 + 1.24 +for i in 0 1 6 1.25 +do 1.26 + ln -sf ../init.d/xen-drbd /etc/rc$i.d/K05xen-drbd 1.27 + #rm /etc/rc$i.d/K21xen-drbd 1.28 +done 1.29 + 1.30 +