mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-17 18:39:01 +02:00
add silent cleanup to setup_avahi.sh
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
### v9.0.1 (10.10.2023)
|
||||||
|
* fix issue with avahi setup ([#384](https://github.com/buanet/ioBroker.docker/issues/384); [#385 by @z1r0](https://github.com/buanet/ioBroker.docker/pull/385))
|
||||||
|
* add silent cleanup to setup_avahi.sh
|
||||||
|
|
||||||
### v9.0.0 (09.10.2023)
|
### v9.0.0 (09.10.2023)
|
||||||
* update official docs
|
* update official docs
|
||||||
* v9.0.0-beta.2 (28.09.2023)
|
* v9.0.0-beta.2 (28.09.2023)
|
||||||
|
|||||||
@@ -5,9 +5,11 @@ then
|
|||||||
echo "[setup_avahi.sh] Avahi is already installed. Nothing to do here."
|
echo "[setup_avahi.sh] Avahi is already installed. Nothing to do here."
|
||||||
else
|
else
|
||||||
echo -n "[setup_avahi.sh] Avahi-daemon is NOT installed. Going to install it now... "
|
echo -n "[setup_avahi.sh] Avahi-daemon is NOT installed. Going to install it now... "
|
||||||
apt-get update > /opt/scripts/avahi_startup.log 2>&1
|
apt-get -q update > /opt/scripts/avahi_startup.log 2>&1
|
||||||
apt-get install -y --no-install-recommends libavahi-compat-libdnssd-dev avahi-daemon >> /opt/scripts/avahi_startup.log 2>&1
|
apt-get -q -y --no-install-recommends install libavahi-compat-libdnssd-dev avahi-daemon >> /opt/scripts/avahi_startup.log 2>&1
|
||||||
rm -rf /var/lib/apt/lists/* >> /opt/scripts/avahi_startup.log 2>&1
|
# Silent Cleanup
|
||||||
|
apt-get -qq autoclean -y && apt-get -qq autoremove && apt-get -qq clean
|
||||||
|
rm -rf /tmp/* /var/tmp/* /root/.cache/* /var/lib/apt/lists/* || true
|
||||||
echo "Done."
|
echo "Done."
|
||||||
echo -n "[setup_avahi.sh] Configuring avahi-daemon... "
|
echo -n "[setup_avahi.sh] Configuring avahi-daemon... "
|
||||||
sed -i '/^rlimit-nproc/s/^\(.*\)/#\1/g' /etc/avahi/avahi-daemon.conf
|
sed -i '/^rlimit-nproc/s/^\(.*\)/#\1/g' /etc/avahi/avahi-daemon.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user