diff --git a/config.template b/config.template index e247481..d69aa4d 100644 --- a/config.template +++ b/config.template @@ -8,8 +8,7 @@ type = serial port = /dev/ttyACM0 # port = /dev/ttyUSB0 -# port = COM1 -# hostname = localhost +# hostname = meshtastic.local # mac = 00:11:22:33:44:55 # Additional interface for dual radio support @@ -17,9 +16,9 @@ port = /dev/ttyACM0 enabled = False type = serial port = /dev/ttyUSB0 -#port = /dev/ttyACM1 +# port = /dev/ttyACM1 # port = COM1 -# hostname = meshtastic.local +# hostname = localhost # mac = 00:11:22:33:44:55 [general] @@ -74,6 +73,8 @@ urlTimeout = 10 LogMessagesToFile = False # Logging of system messages to file SyslogToFile = True +# logging level for the bot (DEBUG, INFO, WARNING, ERROR, CRITICAL) +sysloglevel = DEBUG # Number of log files to keep in days, 0 to keep all log_backup_count = 32 diff --git a/install.sh b/install.sh index 2c84599..500c68e 100755 --- a/install.sh +++ b/install.sh @@ -255,8 +255,8 @@ else # replace "type = serial" with "type = tcp" in config.ini replace="s|type = serial|type = tcp|g" sed -i "$replace" config.ini - # replace "# hostname = 192.168.0.1" with "hostname = localhost" in config.ini - replace="s|# hostname = localhost|hostname = localhost|g" + # replace "# hostname = meshtastic.local" with "hostname = localhost" in config.ini + replace="s|# hostname = meshtastic.local|hostname = localhost|g" sed -i "$replace" config.ini printf "\nConfig file updated for embedded\n"