Source vtpm-impl.alt if it exists
PATCH 1/1 Source vtpm-impl.alt if it exists
Source a file called 'vtpm-impl.alt' if it exists.
Signed-off-by Stefan Berger <[email protected]>
xen-unstable.hg/tools/examples/vtpm-common.sh +3 -1
@@ -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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Ewan Mellor
AppliedQuoted 3 lines · Stefan Berger
Source a file called 'vtpm-impl.alt' if it exists.
Signed-off-by Stefan Berger <[email protected]>
Applied, thanks.
Ewan.