diff options
author | Simon Rettberg | 2023-10-23 10:10:06 +0200 |
---|---|---|
committer | Simon Rettberg | 2023-10-23 10:10:06 +0200 |
commit | f461bddca0deb820a31927090228235e9bd7bcf0 (patch) | |
tree | 7501ee45a00c509c86d40039caa58d038006eb91 | |
parent | [SSPS] Fix name of firtboot log file (diff) | |
download | setup-scripts-f461bddca0deb820a31927090228235e9bd7bcf0.tar.gz setup-scripts-f461bddca0deb820a31927090228235e9bd7bcf0.tar.xz setup-scripts-f461bddca0deb820a31927090228235e9bd7bcf0.zip |
[SSPS] Cannot delete firstrun.sh
-rwxr-xr-x | satellit_installer/static_files/system/opt/openslx/firstrun.sh | 3 |
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 |