summaryrefslogtreecommitdiffstats
path: root/satellit_installer/static_files/system/opt/openslx/firstrun.sh
diff options
context:
space:
mode:
authorSimon Rettberg2023-10-19 13:27:49 +0200
committerSimon Rettberg2023-10-19 13:27:49 +0200
commit834d818a5b11c2b9a9f8ec622d522d213a35edd0 (patch)
treeb27f64f1d84de292640b124196c20f7e02170cc5 /satellit_installer/static_files/system/opt/openslx/firstrun.sh
parent[SSPS] Modernize; switch default user to openslx + sudo (diff)
downloadsetup-scripts-834d818a5b11c2b9a9f8ec622d522d213a35edd0.tar.gz
setup-scripts-834d818a5b11c2b9a9f8ec622d522d213a35edd0.tar.xz
setup-scripts-834d818a5b11c2b9a9f8ec622d522d213a35edd0.zip
[SSPS] Make sure firstrun.sh properly deletes itself after use
Diffstat (limited to 'satellit_installer/static_files/system/opt/openslx/firstrun.sh')
-rwxr-xr-xsatellit_installer/static_files/system/opt/openslx/firstrun.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/satellit_installer/static_files/system/opt/openslx/firstrun.sh b/satellit_installer/static_files/system/opt/openslx/firstrun.sh
index fc22959..0ffc6a5 100755
--- a/satellit_installer/static_files/system/opt/openslx/firstrun.sh
+++ b/satellit_installer/static_files/system/opt/openslx/firstrun.sh
@@ -47,6 +47,7 @@ cat <<YONDERDOC
>
YONDERDOC
+sed -i "/opt.openslx.firstrun.sh/d" ~/.profile
unlink /opt/openslx/firstrun.sh
sudo reboot