summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/myth_settings_wrapper.sh
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-10-30 21:41:42 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-10-30 21:41:42 (GMT)
commit1485cf1105f30b4542c28b688c3478ce39b883c7 (patch)
treeec4f5bc469411d7812bd6dbe9b88b29716b4b11b /abs/core/LinHES-config/myth_settings_wrapper.sh
parentf974db507d6236cb82d3daf31073fcfe82bcf2ed (diff)
downloadlinhes_pkgbuild-1485cf1105f30b4542c28b688c3478ce39b883c7.zip
linhes_pkgbuild-1485cf1105f30b4542c28b688c3478ce39b883c7.tar.gz
linhes_pkgbuild-1485cf1105f30b4542c28b688c3478ce39b883c7.tar.bz2
LinHES-config: For FE only systems set BackendIP to NULL.
By setting it to null it will autoselect which private IP to accept connections on for remote control. refs #858 closes #858
Diffstat (limited to 'abs/core/LinHES-config/myth_settings_wrapper.sh')
-rw-r--r--abs/core/LinHES-config/myth_settings_wrapper.sh16
1 files changed, 12 insertions, 4 deletions
diff --git a/abs/core/LinHES-config/myth_settings_wrapper.sh b/abs/core/LinHES-config/myth_settings_wrapper.sh
index a1fbffc..b122a78 100644
--- a/abs/core/LinHES-config/myth_settings_wrapper.sh
+++ b/abs/core/LinHES-config/myth_settings_wrapper.sh
@@ -239,11 +239,19 @@ case $OPERATION in
if [ $SYSTEMTYPE = "standalone" ]
then
- define_xml "127.0.0.1" $hostname settings BackendServerIP
- load_xml $gen_xml
- define_xml "127.0.0.1" '' settings MasterServerIP
- load_xml $gen_xml
+ define_xml "127.0.0.1" $hostname settings BackendServerIP
+ load_xml $gen_xml
+ define_xml "127.0.0.1" '' settings MasterServerIP
+ load_xml $gen_xml
+ fi
+
+ if [ $SYSTEMTYPE = "frontendonly" ]
+ then
+ define_xml '' $hostname settings BackendServerIP
+ load_xml $gen_xml
fi
+
+
;;