summaryrefslogtreecommitdiffstats
path: root/satellit_installer/static_files/rclocal_script.sh
diff options
context:
space:
mode:
authorSimon Rettberg2019-10-25 16:28:11 +0200
committerSimon Rettberg2019-10-25 16:28:11 +0200
commit554c63664f0545ddffbfded2daf7c7505933eb6b (patch)
tree0327c5ea51e99dc1d0bf2ade3e4318a5650c4031 /satellit_installer/static_files/rclocal_script.sh
parent[SSPS] Fix check for rc-local; bail out on error; remove systemd check (diff)
downloadsetup-scripts-554c63664f0545ddffbfded2daf7c7505933eb6b.tar.gz
setup-scripts-554c63664f0545ddffbfded2daf7c7505933eb6b.tar.xz
setup-scripts-554c63664f0545ddffbfded2daf7c7505933eb6b.zip
[SSPS] Move slx-admin db init to install stage, add predefined data
We now ship with some predefined table contents, which requires us to set up the db scheme during installation. Probably a smart idea anyways since any errors during that step would then happen right away and not at the customer's site.
Diffstat (limited to 'satellit_installer/static_files/rclocal_script.sh')
-rw-r--r--satellit_installer/static_files/rclocal_script.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/satellit_installer/static_files/rclocal_script.sh b/satellit_installer/static_files/rclocal_script.sh
index 381b56a..91bf30d 100644
--- a/satellit_installer/static_files/rclocal_script.sh
+++ b/satellit_installer/static_files/rclocal_script.sh
@@ -102,12 +102,6 @@ for i in dmsd.service taskmanager.service; do
systemctl start $i
done
-# Install slx-admin DB
-(
- cd "/srv/openslx/www/slx-admin"
- sudo -n -u www-data ./install-all >> /root/init.log
-)
-
# Write MOTD
cat > /etc/motd <<THEREDOC
*** bwLehrpool Satelliten-Server, Version $VERSION ***