[FS#536] uci -m import duplicates list entries on repeated imports
LEDE Bugs
lede-bugs at lists.infradead.org
Sun Feb 19 05:37:59 PST 2017
A new Flyspray task has been opened. Details are below.
User who did this - Martin Tippmann (glycoknob)
Attached to Project - LEDE Project
Summary - uci -m import duplicates list entries on repeated imports
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - I want to merge settings to an already existing uci config file with a script in /etc/uci-defaults
uci provides an -m option for merging settings. This works fine with options but 'list' settings are duplicated.
I'd thought that merging should not duplicate the list entries - and have the same behavior with the option entries.
How to reproduce:
create a script i.e. 10-test-uci-import.sh
#!/bin/sh
. /lib/functions.sh
uci -m import test
More information about the lede-bugs
mailing list