Mayank Chhabra
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 |
|
|
|