[OpenWrt-Devel] [PATCH] netifd: fix 14_migrate-dhcp-release script

Hans Dedecker dedeckeh at gmail.com
Sat Apr 4 14:33:50 EDT 2020


Hi,

On Fri, Mar 27, 2020 at 1:36 PM Peter Stadler <
peter.stadler at student.uibk.ac.at> wrote:

> prepend 'uci' to 'commit network'
>
Can you explain why the prepend of 'uci' is required ?
In other words what is not working as I fail to spot the issue

Hans

>
> Signed-off-by: Peter Stadler <peter.stadler at student.uibk.ac.at>
> ---
>  .../netifd/files/etc/uci-defaults/14_migrate-dhcp-release       | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git
> a/package/network/config/netifd/files/etc/uci-defaults/14_migrate-dhcp-release
> b/package/network/config/netifd/files/etc/uci-defaults/14_migrate-dhcp-release
> index 651c437cb2..f1b384eecc 100644
> ---
> a/package/network/config/netifd/files/etc/uci-defaults/14_migrate-dhcp-release
> +++
> b/package/network/config/netifd/files/etc/uci-defaults/14_migrate-dhcp-release
> @@ -18,6 +18,6 @@ migrate_release() {
>
>  config_load network
>  config_foreach migrate_release interface
> -commit network
> +uci commit network
>
>  exit 0
> --
> 2.24.1
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200404/49f88ac0/attachment.htm>
-------------- next part --------------
_______________________________________________
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