umbim: allow forcing DHCP/DHCPv6 configuration
authorLech Perczak <lech.perczak@gmail.com>
Wed, 3 May 2023 12:34:25 +0000 (14:34 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 7 May 2023 12:36:58 +0000 (14:36 +0200)
commit1108f6cb8b115608c486552f1210fea5b955ea5f
tree9fcbc6ed829eaca29f4f5b3429ac1512c749120c
parent12b96757e5425c9fc4c38e564d0448ecf5655acc
umbim: allow forcing DHCP/DHCPv6 configuration

To support the widest variety of modems, allow restoring previous
behaviour of configuring the link throug means of DHCP(v6) exclusively.
Change the default value of "dhcp" and "dhcpv6" UCI options to "auto",
while keeping the default behaviour of "prefer out-of-band configuration",
intact. Setting "dhcp" or "dhcpv6" to boolean 1 will now force using
DHCP and DHCPv6, respectively.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
package/network/utils/umbim/files/lib/netifd/proto/mbim.sh