radicale3: make the empty uci config consistent

We update the missing sections defaults to match the upstream default,
which are also our defaults when there is an UCI configuration, and
are also the defaults for the LuCI app.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
This commit is contained in:
Daniel F. Dickinson
2026-01-14 23:32:05 -05:00
committed by Hannu Nyman
parent 9e33952b60
commit c199e37415

View File

@@ -147,7 +147,7 @@ add_missing_sections() {
echo "[$section]" >> "$cfgfile" echo "[$section]" >> "$cfgfile"
case $section in case $section in
server) server)
echo "hosts = 0.0.0.0:5232, [::]:5232" >> "$cfgfile" echo "hosts = 127.0.0.1:5232, [::1]:5232" >> "$cfgfile"
;; ;;
auth) auth)
echo "type = htpasswd" >> "$cfgfile" echo "type = htpasswd" >> "$cfgfile"