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

Peter Stadler peter.stadler at student.uibk.ac.at
Fri Mar 27 08:36:08 EDT 2020


prepend 'uci' to 'commit network'

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



More information about the openwrt-devel mailing list