logmngr: avoid uci commit in uci-defaults

This commit is contained in:
Vivek Kumar Dutta 2025-03-05 10:18:22 +05:30
parent 73c8e7eb75
commit 9e1a8de1bd
No known key found for this signature in database
GPG key ID: 4E09F5AD8265FD4C
2 changed files with 0 additions and 2 deletions

View file

@ -25,4 +25,3 @@ uci set logmngr.lr1=log_remote
uci set logmngr.lr1.enable=0
uci set logmngr.lr1.action="ac1"
uci set logmngr.lr1.port="514"
uci commit logmngr

View file

@ -10,5 +10,4 @@ if [ -s "/etc/config/logmngr" ]; then
uci set logmngr.lro1.file_name="/var/log/messages"
uci set logmngr.lro1.file_count=1
uci set logmngr.lro1.max_file_size=1000000
uci commit logmngr
fi