manual sync (beta branch)

This commit is contained in:
dontobi
2023-07-10 07:22:09 +02:00
parent 700d7609cc
commit 6af2d4879f
3 changed files with 41 additions and 57 deletions

View File

@@ -148,9 +148,9 @@ if [[ -f /opt/.first_run ]]; then
echo " "
# Register maintenance script
echo -n "Registering maintenance script as command... "
echo "alias maintenance=\'/opt/scripts/maintenance.sh\'" >> /root/.bashrc
echo "alias maint=\'/opt/scripts/maintenance.sh\'" >> /root/.bashrc
echo "alias m=\'/opt/scripts/maintenance.sh\'" >> /root/.bashrc
echo "alias maintenance='/opt/scripts/maintenance.sh'" >> /etc/bash.bashrc
echo "alias maint='/opt/scripts/maintenance.sh'" >> /etc/bash.bashrc
echo "alias m='/opt/scripts/maintenance.sh'" >> /etc/bash.bashrc
echo "Done."
else
echo "This is not the first run of this container. Skipping first run preparation."