#!/bin/bash #20060130 cluster_kernel.sh hse@ukr.net cluster=cluster-1.01.00 cd /usr/src/ cp /usr/portage/distfiles/$cluster.tar.gz ./ gzip -d $cluster.tar.gz tar -xf $cluster.tar if [ ! -f linux-2.6 ] then ln linux linux-2.6 fi cd $cluster cd cman-kernel ./configure && make && make install cd .. cd dlm-kernel ./configure && make && make install cd .. cd gnbd-kernel ./configure && make && make install cd .. cd gfs-kernel ./configure && make && make install cd .. exit 0