mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-18 19:09:02 +02:00
improve maintenance command by symlinking
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
### v9.1.0-beta.1 (coming soon)
|
### v9.1.0-beta.1 (03.11.2023)
|
||||||
|
* improve maintenance command by symlinking ([#390](https://github.com/buanet/ioBroker.docker/issues/390))
|
||||||
* fix restore/ adding backup file selection ([#394](https://github.com/buanet/ioBroker.docker/issues/394))
|
* fix restore/ adding backup file selection ([#394](https://github.com/buanet/ioBroker.docker/issues/394))
|
||||||
* fix calling iob start|stop with parameters
|
* fix calling iob start|stop with parameters
|
||||||
* enhance logging in iobroker_startup.sh
|
* enhance logging in iobroker_startup.sh
|
||||||
|
|||||||
@@ -146,9 +146,9 @@ if [[ -f /opt/.docker_config/.first_run ]]; then
|
|||||||
echo " "
|
echo " "
|
||||||
# Register maintenance script
|
# Register maintenance script
|
||||||
echo -n "Registering maintenance script as command... "
|
echo -n "Registering maintenance script as command... "
|
||||||
echo "alias maintenance='/opt/scripts/maintenance.sh'" >> /etc/bash.bashrc
|
ln -s /opt/scripts/maintenance.sh /bin/maintenance
|
||||||
echo "alias maint='/opt/scripts/maintenance.sh'" >> /etc/bash.bashrc
|
ln -s /opt/scripts/maintenance.sh /bin/maint
|
||||||
echo "alias m='/opt/scripts/maintenance.sh'" >> /etc/bash.bashrc
|
ln -s /opt/scripts/maintenance.sh /bin/m
|
||||||
echo "Done."
|
echo "Done."
|
||||||
else
|
else
|
||||||
echo "This is not the first run of this container. Skipping first run preparation."
|
echo "This is not the first run of this container. Skipping first run preparation."
|
||||||
|
|||||||
Reference in New Issue
Block a user