summaryrefslogtreecommitdiffstats
path: root/repoman/bin/importimage
diff options
context:
space:
mode:
Diffstat (limited to 'repoman/bin/importimage')
-rwxr-xr-xrepoman/bin/importimage4
1 files changed, 2 insertions, 2 deletions
diff --git a/repoman/bin/importimage b/repoman/bin/importimage
index db652f9d..9ced5b78 100755
--- a/repoman/bin/importimage
+++ b/repoman/bin/importimage
@@ -20,16 +20,16 @@
OPENGNSYS=${OPENGNSYS:-"/opt/opengnsys"}
REPODIR="$OPENGNSYS/images"
REPOCONF="$OPENGNSYS/etc/ogAdmRepo.cfg"
-SERVERCONF="$OPENGNSYS/etc/ogserver.cfg"
+SERVERCONF="$OPENGNSYS/etc/ogserver.json"
DEFAULTFILE="/etc/default/opengnsys"
let BACKUP=0
source $DEFAULTFILE
source $REPOCONF &>/dev/null
-[ "$RUN_OGADMSERVER" == "yes" ] && source $SERVERCONF &>/dev/null
# Functions.
source $OPENGNSYS/lib/ogfunctions.sh || exit 1
+[ "$RUN_OGADMSERVER" == "yes" ] && source_json_config $SERVERCONF &>/dev/null
# Main program.