summaryrefslogtreecommitdiffstats
path: root/satellit_installer
diff options
context:
space:
mode:
authorSimon Rettberg2023-10-23 10:10:06 +0200
committerSimon Rettberg2023-10-23 10:10:06 +0200
commitf461bddca0deb820a31927090228235e9bd7bcf0 (patch)
tree7501ee45a00c509c86d40039caa58d038006eb91 /satellit_installer
parent[SSPS] Fix name of firtboot log file (diff)
downloadsetup-scripts-f461bddca0deb820a31927090228235e9bd7bcf0.tar.gz
setup-scripts-f461bddca0deb820a31927090228235e9bd7bcf0.tar.xz
setup-scripts-f461bddca0deb820a31927090228235e9bd7bcf0.zip
[SSPS] Cannot delete firstrun.sh
Diffstat (limited to 'satellit_installer')
-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