Browse Source

Fix Umbrel OS version tag check (#171)

update-git
Mayank Chhabra 5 years ago
committed by GitHub
parent
commit
2a5bc7e4eb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      scripts/update/01-run.sh

2
scripts/update/01-run.sh

@ -29,7 +29,7 @@ if [[ ! -z "${UMBREL_OS:-}" ]]; then
# eth0,wlan0 interfaces to prevent hostname cycling
# https://github.com/getumbrel/umbrel-os/issues/76
# This patch can be safely removed from Umbrel v0.3.x+
if [[ $UMBREL_OS == "0.1.2" ]] && [[ -f "/etc/avahi/avahi-daemon.conf" ]]; then
if [[ $UMBREL_OS == "v0.1.2" ]] && [[ -f "/etc/avahi/avahi-daemon.conf" ]]; then
echo "Binding Avahi to eth0 and wlan0"
sed -i "s/#allow-interfaces=eth0/allow-interfaces=eth0,wlan0/g;" "/etc/avahi/avahi-daemon.conf"
systemctl restart avahi-daemon.service

Loading…
Cancel
Save