summaryrefslogtreecommitdiffstats
path: root/satellit_installer/satellit_installer
diff options
context:
space:
mode:
authorSimon Rettberg2020-12-18 11:14:17 +0100
committerSimon Rettberg2020-12-18 11:14:17 +0100
commit771de25bbf64c13ec56721753d8c9625ced752cd (patch)
treeda06ec916aca33e21f99da2c22905c9b5ba40a59 /satellit_installer/satellit_installer
parent[SSPS] Fix vmware SCSI timeout increase (diff)
downloadsetup-scripts-771de25bbf64c13ec56721753d8c9625ced752cd.tar.gz
setup-scripts-771de25bbf64c13ec56721753d8c9625ced752cd.tar.xz
setup-scripts-771de25bbf64c13ec56721753d8c9625ced752cd.zip
[SSPS] Transform heredocs to regular files
Diffstat (limited to 'satellit_installer/satellit_installer')
-rwxr-xr-xsatellit_installer/satellit_installer9
1 files changed, 4 insertions, 5 deletions
diff --git a/satellit_installer/satellit_installer b/satellit_installer/satellit_installer
index 33aaefc..fd4bbd6 100755
--- a/satellit_installer/satellit_installer
+++ b/satellit_installer/satellit_installer
@@ -116,8 +116,6 @@ write_tftpd_config
patch_lighttpd_config
patch_php_config # This takes a lot of time, so any background stuff before this.
-write_tmate_config # here or elsewhere...
-
patch_ldapsearch
patch_java
@@ -146,9 +144,6 @@ patch_bashrc
# vim config
patch_vim
-# This part drops a script and anchors it's execution within root's .profile:
-drop_firstrun_script
-
install_timesync # cheap HTTP based timesync on boot
# Remove translation from menu etc., enable required modules
@@ -175,6 +170,10 @@ write_versionstring
clean_install
end_message
+# This part drops a script and anchors it's execution within root's .profile
+# Do this at the end so it's not there if something failed
+drop_firstrun_script
+
finalize # Cleaning script; finalize script will delete itself.
[ "$NODELETE_SOURCE" != "true" ] && { echo "#"; echo "# Deleting source directory..."; rm -rf "$BASEDIR"; echo "# done."; } \