summaryrefslogtreecommitdiffstats
path: root/satellit_installer/static_files/system/opt/openslx/firstrun.sh
diff options
context:
space:
mode:
Diffstat (limited to 'satellit_installer/static_files/system/opt/openslx/firstrun.sh')
-rwxr-xr-xsatellit_installer/static_files/system/opt/openslx/firstrun.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/satellit_installer/static_files/system/opt/openslx/firstrun.sh b/satellit_installer/static_files/system/opt/openslx/firstrun.sh
index 0ffc6a5..951fa8e 100755
--- a/satellit_installer/static_files/system/opt/openslx/firstrun.sh
+++ b/satellit_installer/static_files/system/opt/openslx/firstrun.sh
@@ -48,6 +48,7 @@ cat <<YONDERDOC
YONDERDOC
sed -i "/opt.openslx.firstrun.sh/d" ~/.profile
-unlink /opt/openslx/firstrun.sh
+# Just to be safe, empty script... Cannot delete as dir is owned by root
+truncate -s0 /opt/openslx/firstrun.sh
sudo reboot