mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-03-28 17:32:36 +01:00
enhance
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user