diff options
author | Simon Rettberg | 2014-10-19 20:37:55 +0200 |
---|---|---|
committer | Simon Rettberg | 2014-10-19 20:37:55 +0200 |
commit | fdc0eb30101d1505ac5ce674a18a14869f3105d0 (patch) | |
tree | d46ec0a9488ba6524acc8bdbcf7ed0d0f8735063 /satellit_installer/satellit_installer | |
parent | [SSPS] Also generating an sshd host ecdsa key (diff) | |
download | setup-scripts-fdc0eb30101d1505ac5ce674a18a14869f3105d0.tar.gz setup-scripts-fdc0eb30101d1505ac5ce674a18a14869f3105d0.tar.xz setup-scripts-fdc0eb30101d1505ac5ce674a18a14869f3105d0.zip |
Add apt config for unattended upgrades, refactor global variables a bit
Diffstat (limited to 'satellit_installer/satellit_installer')
-rwxr-xr-x | satellit_installer/satellit_installer | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/satellit_installer/satellit_installer b/satellit_installer/satellit_installer index 9e904e7..fa916a3 100755 --- a/satellit_installer/satellit_installer +++ b/satellit_installer/satellit_installer @@ -92,18 +92,20 @@ check_pureftpd_key # check pureftp key (and gen. on if necessary) patch_atftpd_config -patch_lighttpd_config "$OPENSLXSRVDIR"/www # $1: lighttpd http root +patch_lighttpd_config "$WWWDIR" # $1: lighttpd http root + +write_apt_config install_bwSuite_server /opt/dmsd install_taskmanager /opt/taskmanager unpack_tar_gz "$BASEDIR/static_files/openslx.tar.gz" "-C $OPENSLXDIR" -unpack_tar_gz "$BASEDIR/static_files/slx-admin.tar.gz" "-C $OPENSLXSRVDIR/www/slx-admin" +unpack_tar_gz "$BASEDIR/static_files/slx-admin.tar.gz" "-C $WWWDIR/slx-admin" unpack_tar_gz "$BASEDIR/static_files/openslx_tftp.tar.gz" "-C $OPENSLXSRVDIR" unpack_tar_gz "$BASEDIR/static_files/ldadp.tgz" "-C $LDADPDIR" unpack_tar_gz "$BASEDIR/static_files/syncdaemon.tar.gz" "-C $SYNCDAEMONDIR" -unpack_tar_gz "$BASEDIR/static_files/syslinux6.tar.gz" "-C $SYSLINUX6DIR" +unpack_tar_gz "$BASEDIR/static_files/syslinux6.tar.gz" "-C $TFTPDIR" install_syncdaemon "$SYNCDAEMONDIR" |