Update linux-native-hardware.mdx (#1609)
Some checks failed
CI / quality (push) Has been cancelled
CI / build (push) Has been cancelled

Update avahi instructions to use an editor instead of tee, and use double quotes everywhere to avoid unicode issues when pasting.
This commit is contained in:
bitflip 2024-11-30 06:55:22 +00:00 committed by GitHub
parent 5c0f289dbe
commit eaf8f8ae33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -243,8 +243,14 @@ sudo apt install avahi-daemon
- Configure Avahi to advertise the node
Create the service file:
```shell
echo '<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
sudo nano etc/avahi/services/meshtastic.service
```
And paste the following:
```xml
<?xml version="1.0" standalone="no"?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name>Meshtastic</name>
@ -252,8 +258,9 @@ echo '<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<type>_http._tcp</type>
<port>80</port>
</service>
</service-group>' | sudo tee /etc/avahi/services/meshtastic.service
</service-group>
```
Then save and exit.
## CLI Configuration