mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Source a file called 'vtpm-impl.alt' if it exists.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
This commit is contained in:
1 parent
a8ca4c264c
commit
2b1f4094a6
1 file changed
+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 () {
|
||||
|
||||