Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 9d82c8b806df751b15e294a25338fa42 > scriptlet

clusterscripts-server-2.0-18mdv2008.0.noarch.rpm

PREUN

/bin/sh
#/usr/share/rpm-helper/del-service clusterscripts $1 rapidnat

POSTIN

/bin/sh
#/usr/share/rpm-helper/add-service clusterscripts $1 rapidnat 
#if [ "`grep lsusb /etc/init.d/mandrake_everytime`" = "" ]; then
#echo "#Prevent no keyboard on ia64 systems" >>/etc/init.d/mandrake_everytime
#echo "lsusb -v >/dev/null" >>/etc/init.d/mandrake_everytime
#fi
TESTDHETH=`grep ETHDHCP_CLIENT /etc/clusterserver.conf`
if [ -z "$TESTDHETH" ];	then
	echo " old version of clusterscript, updating"
	echo "ETHDHCP_CLIENT=eth0" >> /etc/clusterserver.conf
fi	
# create a file, to check if it is the first time i launch setup_auto_cluster
touch /tmp/first_setup
	
#perl -Mcluster_xconfig -e 'set_xconfig()'