summaryrefslogtreecommitdiffstats
path: root/server/lib
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2020-06-22 13:06:05 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-23 13:04:03 +0200
commitbbf5371425f80e0b82eff65f1a570ef3a4e2f5ea (patch)
tree75e8d9f9a6cfa82b284e10684e6cb4fe9272ff35 /server/lib
parentc583144e36023399425ac0b05460afd1b519eb5b (diff)
#986 More renaming to ogserver
Another step into renaming all references of ogAdmServer to ogServer. This commit mostly rename references to ogAdmServer.cfg in scripts.
Diffstat (limited to 'server/lib')
-rwxr-xr-xserver/lib/checkrest2
-rwxr-xr-xserver/lib/supportsave4
2 files changed, 3 insertions, 3 deletions
diff --git a/server/lib/checkrest b/server/lib/checkrest
index 3db161f5..3fcd8bd1 100755
--- a/server/lib/checkrest
+++ b/server/lib/checkrest
@@ -12,7 +12,7 @@
PROG=$(basename "$0")
OPENGNSYS=/opt/opengnsys
-CONFIGFILE=$OPENGNSYS/etc/ogAdmServer.cfg
+CONFIGFILE=$OPENGNSYS/etc/ogserver.cfg
RESTURL="https://localhost/opengnsys/rest"
source $OPENGNSYS/lib/ogfunctions.sh || exit 1
diff --git a/server/lib/supportsave b/server/lib/supportsave
index e5a9fd20..8d5c2dd9 100755
--- a/server/lib/supportsave
+++ b/server/lib/supportsave
@@ -180,9 +180,9 @@ fi
echo "- Directory list"
ls -Ral ${home_dir} >> $backup_dir/opengnsys_files.txt 2>&1
-if [ -r ${home_dir}/etc/ogAdmServer.cfg ]; then
+if [ -r ${home_dir}/etc/ogserver.cfg ]; then
echo "- Database schema"
- source ${home_dir}/etc/ogAdmServer.cfg
+ source ${home_dir}/etc/ogserver.cfg
mysqldump -u "$USUARIO" -p"$PASSWORD" -d "$CATALOG" >> ${backup_dir}/opengnsys_schema.sql 2>&1
else
echo "- WARNING: The OpenGnsys database can not be accessed" | tee ${backup_dir}/db_schema.txt