dispvm: by default use default dispvm-prerun script
Assume "--default-script" when no second argument given.
This commit is contained in:
parent
b81ecc4fba
commit
e5a6f58851
@ -20,7 +20,7 @@ if [ "$TEMPLATENAME" = --default-template ] ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "X""$2" = "X""--default-script" ] ; then
|
||||
if [ -z "$2" -o "X""$2" = "X""--default-script" ] ; then
|
||||
SCRIPTNAME="vm-default"
|
||||
else
|
||||
SCRIPTNAME=$2
|
||||
|
Loading…
Reference in New Issue
Block a user