summaryrefslogtreecommitdiffstats
path: root/scripts/system-restore
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/system-restore')
-rwxr-xr-xscripts/system-restore5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/system-restore b/scripts/system-restore
index 21e7d05..bb2967a 100755
--- a/scripts/system-restore
+++ b/scripts/system-restore
@@ -118,7 +118,10 @@ if [ $RES_OPENSLX -eq 1 ]; then
# Force triggering IP detection/setting, which should in turn regenerate ldadp configs and launch ldadp instances if applicable
echo "UPDATE openslx.property SET value = 'invalid' WHERE name = 'server-ip' LIMIT 1" | mysql --defaults-extra-file=/etc/mysql/debian.cnf --default-character-set=utf8
# Try to update the db (if required)
- curl -s 'http://localhost/slx-admin/api.php?do=update'
+ (
+ cd /srv/openslx/www/slx-admin
+ ./install-all
+ )
tar --ignore-failed-read -x -f files.tgz -C /
RET=$?