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