summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/myth_settings_wrapper.sh
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-05-13 22:22:23 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-05-13 22:22:23 (GMT)
commitf9dd982fcb0798475de7e99dcbe2cf8046c148ce (patch)
tree1a7d4d9e87d35578d0206f05f445479700180ec5 /abs/core/LinHES-config/myth_settings_wrapper.sh
parent6b3b0ad88dec16f48cd553817bb881967dcfd22d (diff)
downloadlinhes_pkgbuild-f9dd982fcb0798475de7e99dcbe2cf8046c148ce.zip
linhes_pkgbuild-f9dd982fcb0798475de7e99dcbe2cf8046c148ce.tar.gz
linhes_pkgbuild-f9dd982fcb0798475de7e99dcbe2cf8046c148ce.tar.bz2
LinHES-config: myth_settings_wrapper. Fix bug when setting the default access settings. Previously the order of the arguments was wrong and inserted bad values into the database.
Diffstat (limited to 'abs/core/LinHES-config/myth_settings_wrapper.sh')
-rw-r--r--abs/core/LinHES-config/myth_settings_wrapper.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/abs/core/LinHES-config/myth_settings_wrapper.sh b/abs/core/LinHES-config/myth_settings_wrapper.sh
index bcba9d1..33f401f 100644
--- a/abs/core/LinHES-config/myth_settings_wrapper.sh
+++ b/abs/core/LinHES-config/myth_settings_wrapper.sh
@@ -233,14 +233,14 @@ case $OPERATION in
for i in $LIST
do
- define_xml 1 $i settings $hostname
+ define_xml 1 $hostname settings $i
load_xml $gen_xml
done
LIST="HostaccesshostypeSystemtype Hostaccessuser"
for i in $LIST
do
- define_xml 0 $i settings $hostname
+ define_xml 0 $hostname settings $i
load_xml $gen_xml
done
;;