summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2018-04-20 16:09:34 +0200
committerSimon Rettberg2018-04-20 16:09:34 +0200
commit07361e744a116e2c5a2a3a5235b1728768d73fec (patch)
treea066bbe0fd9a250c5479fad4b615c0a09a646119
parent[RemoteReboot] Refactor, better cleanup (diff)
downloadtmlite-bwlp-07361e744a116e2c5a2a3a5235b1728768d73fec.tar.gz
tmlite-bwlp-07361e744a116e2c5a2a3a5235b1728768d73fec.tar.xz
tmlite-bwlp-07361e744a116e2c5a2a3a5235b1728768d73fec.zip
[scripts/system-restore] Print proper messages when restoring databasesv3.7
-rwxr-xr-xscripts/system-restore4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/system-restore b/scripts/system-restore
index ebc2f23..1c2f6bb 100755
--- a/scripts/system-restore
+++ b/scripts/system-restore
@@ -95,12 +95,12 @@ else
# Restoring from v1.1+ db
RET=0
if [ $RES_SAT -eq 1 ]; then
- echo "--- Importing system configuration"
+ echo "--- Importing dozmod database (vms/lectures meta data)"
mysql --defaults-extra-file=/etc/mysql/debian.cnf --default-character-set=utf8 < sat.sql
RET=$?
fi
if [ $RET -eq 0 -a $RES_OPENSLX -eq 1 ]; then
- echo "--- Importing dozmod database (vms/lectures meta data)"
+ echo "--- Importing system configuration"
mysql --defaults-extra-file=/etc/mysql/debian.cnf --default-character-set=utf8 < openslx.sql
RET=$?
fi