summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/myth_settings_wrapper.sh
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-22 15:59:21 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-22 15:59:21 (GMT)
commited28d2bff19273fac6cf03486c10919a68653e65 (patch)
treefc61b47ee7bc12d921bc2c04169cdf97310bfc5d /abs/core/LinHES-config/myth_settings_wrapper.sh
parent482fe93065abe75624b3c213a4c2bf6ecb778c2c (diff)
downloadlinhes_pkgbuild-ed28d2bff19273fac6cf03486c10919a68653e65.zip
linhes_pkgbuild-ed28d2bff19273fac6cf03486c10919a68653e65.tar.gz
linhes_pkgbuild-ed28d2bff19273fac6cf03486c10919a68653e65.tar.bz2
LinHES-config: added support for configuing mythzmserver to myth_settings_wrapper.sh. It will add the server and port to the settings table for each system that has mythzoneminder installed. Also modificed mv_software.py to setup zoneminder where needed and also mythzmserver
refs #887
Diffstat (limited to 'abs/core/LinHES-config/myth_settings_wrapper.sh')
-rw-r--r--abs/core/LinHES-config/myth_settings_wrapper.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/abs/core/LinHES-config/myth_settings_wrapper.sh b/abs/core/LinHES-config/myth_settings_wrapper.sh
index b122a78..37d5e33 100644
--- a/abs/core/LinHES-config/myth_settings_wrapper.sh
+++ b/abs/core/LinHES-config/myth_settings_wrapper.sh
@@ -218,7 +218,12 @@ case $OPERATION in
fi
;;
-
+ ZMCONFIG)
+ define_xml ${IP_ADDRESS} $hostname settings ZoneMinderServerIP
+ load_xml $gen_xml
+ define_xml "6548" $hostname settings ZoneMinderServerPort
+ load_xml $gen_xml
+ ;;
BECONFIG)
if [ $SYSTEMTYPE = "master" ]