mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-10-30 22:01:57 +01:00
Update entrypoint.sh
This commit is contained in:
1 parent
3fdebf3bf9
commit
3540b8f110
1 file changed
+1
-3
@@ -3,9 +3,7 @@
|
||||
# if no config.ini exists, copy the default one
|
||||
if [ ! -f /app/config.ini ]; then
|
||||
cp /app/config.template /app/config.ini
|
||||
fi
|
||||
# if using docker, set interface type to tcp and hostname to meshtasticd:4403
|
||||
if [ -f /app/config.ini ]; then
|
||||
|
||||
ls -l /app/config.ini
|
||||
# Set type = tcp in [interface]
|
||||
sed -i '/^\[interface\]/,/^[^[]/ s/^type = .*/type = tcp/' /app/config.ini
|
||||
|
||||
Reference in new issue
Block a user