#!/bin/sh
oldmachine="$2"
newmachine="$3"
disk="$4"

if [ -e /etc/remctl/sipb-xen-auto/acl/"$oldmachine" ]; then
	/sbin/lvrename xenvg "$oldmachine"_"$disk" "$newmachine"_"$disk"
fi
