This commit is contained in:
SpudGunMan
2025-10-23 21:50:54 -07:00
parent f8746ff348
commit 98af757d93
2 changed files with 7 additions and 7 deletions

View File

@@ -1,9 +1,4 @@
### Many device configs have been moved to /etc/meshtasticd/available.d
### To activate, simply copy or link the appropriate file into /etc/meshtasticd/config.d
### Define your devices here using Broadcom pin numbering
### Uncomment the block that corresponds to your hardware
### Including the "Module:" line!
### Template config.yaml
---
Lora:
GPIO:
@@ -26,4 +21,4 @@ General:
MaxMessageQueue: 100
ConfigDirectory: /etc/meshtasticd/config.d/
# MACAddress: AA:BB:CC:DD:EE:FF
# MACAddressSource: eth0
MACAddressSource: eth0

View File

@@ -1,4 +1,9 @@
#!/bin/bash
# if no config.ini exists, copy the default one
if [ ! -f /app/config.ini ]; then
cp /app/script/docker/config.ini /app/config.ini
fi
# Run the bot as appuser (if you want to drop privileges)
exec python /app/mesh_bot.py