[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 09:59:22 EDT 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

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list