[OpenWrt-Devel] [PATCH] system: uci: Use config dir on uci_add and support add_/del_list

Petr Štetiar ynezz at true.cz
Wed May 15 06:59:22 PDT 2019


Kristian Evensen <kristian.evensen at gmail.com> [2019-05-03 18:05:32]:

Hi,

> +uci_del_list() {

as `uci_remove` is calling `uci del` under the hood, this should be probably
renamed to `uci_remove_list` in order to stay consistent ?

> +	/sbin/uci ${UCI_CONFIG_DIR:+-c $UCI_CONFIG_DIR} del_list "$PACKAGE.$CONFIG.$OPTION=$VALUE"
> +}

-- ynezz



More information about the openwrt-devel mailing list