summaryrefslogtreecommitdiffstats
path: root/satellit_installer/includes/10-script_dropper.inc
diff options
context:
space:
mode:
Diffstat (limited to 'satellit_installer/includes/10-script_dropper.inc')
-rw-r--r--satellit_installer/includes/10-script_dropper.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/satellit_installer/includes/10-script_dropper.inc b/satellit_installer/includes/10-script_dropper.inc
index 512b4cf..efae442 100644
--- a/satellit_installer/includes/10-script_dropper.inc
+++ b/satellit_installer/includes/10-script_dropper.inc
@@ -12,9 +12,6 @@ drop_script() {
# So we know all the paths and the mysql password
cat "${BASEDIR}/includes/00-dirs.inc" "${CONFIGDIR}/config" > "/root/installer/config"
chmod 0600 /root/installer/config
- cp "${BASEDIR}/static_files/firstrun_script.sh" "${BASEDIR}/static_files/rclocal_script.sh" /root/installer/
- chmod u+x /root/installer/firstrun_script.sh /root/installer/rclocal_script.sh
-
}
drop_keychanger_rclocal() {
@@ -33,6 +30,7 @@ drop_keychanger_rclocal() {
HIERDOK
chmod +x /etc/rc.local
fi
+ # WTF? Why forking?
cat > /etc/systemd/system/rc-local.service <<-DORTDOK
[Unit]
Description=/etc/rc.local Compatibility