source:
trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/usr/sbin/sipb-xen-lvrename
@
132
Last change on this file since 132 was 132, checked in by tabbott, 18 years ago | |
---|---|
|
|
File size: 182 bytes |
Line | |
---|---|
1 | #!/bin/sh |
2 | oldmachine="$2" |
3 | newmachine="$3" |
4 | disk="$4" |
5 | |
6 | if [ -e /etc/remctl/sipb-xen-auto/acl/"$oldmachine" ]; then |
7 | /sbin/lvrename xenvg "$oldmachine"_"$disk" "$newmachine"_"$disk" |
8 | fi |
Note: See TracBrowser
for help on using the repository browser.