summaryrefslogtreecommitdiffstats
path: root/vircmd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-08-15 17:40:39 +1000
committerAndrew Tridgell <tridge@samba.org>2008-08-15 17:40:39 +1000
commitba071f93423c85ab9bc0b438559528637f526fe4 (patch)
tree77a2975741c3b5fbe39b8c33a998c34af6cbd219 /vircmd
parentdaa53a7e43bc87faf404c5d47e69166e83d4eb09 (diff)
downloadautocluster-ba071f93423c85ab9bc0b438559528637f526fe4.tar.gz
autocluster-ba071f93423c85ab9bc0b438559528637f526fe4.tar.xz
autocluster-ba071f93423c85ab9bc0b438559528637f526fe4.zip
it is needed after all, for VIRSH
Diffstat (limited to 'vircmd')
-rwxr-xr-xvircmd8
1 files changed, 8 insertions, 0 deletions
diff --git a/vircmd b/vircmd
index af718a7..811792f 100755
--- a/vircmd
+++ b/vircmd
@@ -50,6 +50,14 @@ while true ; do
esac
done
+defconf() {
+ local v="$1"
+ local e="$2"
+
+ [ "${!v+x}" ] || eval "$v=\"$e\""
+}
+
+. "$installdir/config.default"
. "$installdir/functions"
if [ $# -lt 2 ]; then