[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Source a file called 'vtpm-impl.alt' if it exists.
# HG changeset patch # User Ewan Mellor <ewan@xxxxxxxxxxxxx> # Date 1168541718 0 # Node ID 7ce714d3a9ac057cb9c22bd26e1905a325ad3a17 # Parent 77041741529c8deef2b533dca7ab1ddc7e35d066 Source a file called 'vtpm-impl.alt' if it exists. Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx> --- tools/examples/vtpm-common.sh | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) diff -r 77041741529c -r 7ce714d3a9ac tools/examples/vtpm-common.sh --- a/tools/examples/vtpm-common.sh Thu Jan 11 18:54:09 2007 +0000 +++ b/tools/examples/vtpm-common.sh Thu Jan 11 18:55:18 2007 +0000 @@ -24,7 +24,9 @@ VTPMDB="/etc/xen/vtpm.db" #In the vtpm-impl file some commands should be defined: # vtpm_create, vtpm_setup, vtpm_start, etc. (see below) -if [ -r "$dir/vtpm-impl" ]; then +if [ -r "$dir/vtpm-impl.alt" ]; then + . "$dir/vtpm-impl.alt" +elif [ -r "$dir/vtpm-impl" ]; then . "$dir/vtpm-impl" else function vtpm_create () { _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |