xen-drbd

view INSTALL @ 18:0aa17b693e59

kernel and initrd name for od
author igor
date Sun Feb 17 11:38:43 2008 +0200 (2008-02-17)
parents b6dc3480caae
children 128f4bc3f522
line source
1 #!/bin/sh
3 ROOT=/
4 DEST_DIR=/usr/bin
6 cp init.d-xen-drbd ${ROOT}/etc/init.d/xen-drbd
7 chmod +x ${ROOT}/etc/init.d/xen-drbd
9 cp xen-scripts-network-xen-drbd $ROOT/etc/xen/scripts/network-xen-drbd
10 chmod +x /etc/xen/scripts/network-xen-drbd
12 cp default-xen-drbd ${ROOT}/etc/default/xen-drbd
13 cp xen-drbd-start.py ${ROOT}/etc/xen/xen-drbd-start
14 cp xen-drbd.py ${ROOT}/${DEST_DIR}
16 for i in 2 3 4 5
17 do
18 ln -sf ../init.d/xen-drbd ${ROOT}/etc/rc$i.d/S95xen-drbd
19 #rm /etc/rc$i.d/S22xen-drbd
20 done
22 for i in 0 1 6
23 do
24 ln -sf ../init.d/xen-drbd ${ROOT}/etc/rc$i.d/K05xen-drbd
25 #rm /etc/rc$i.d/K21xen-drbd
26 done