base-files: add protocol ncm support for ucidef_set_interface()
authorArınç ÜNAL <arinc.unal@arinc9.com>
Thu, 11 May 2023 23:50:43 +0000 (01:50 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 18 May 2023 12:44:07 +0000 (14:44 +0200)
Make it possible to set up a default network (interface) for devices with
cellular modems using NCM.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
package/base-files/files/bin/config_generate

index 0001f887466196373077d6ba01e47dbde9aabfbb..be21d0079a8a7ff411bef57d1dde3c0add9f7bbd 100755 (executable)
@@ -208,6 +208,7 @@ generate_network() {
                        }
                ;;
 
+               ncm|\
                qmi|\
                mbim)
                        uci -q batch <<-EOF