p910nd: init: partial fix for openwrt/packages#10496
authorPaul Donald <newtwen@gmail.com>
Sat, 10 Feb 2024 21:02:58 +0000 (22:02 +0100)
committerPaul Donald <newtwen@gmail.com>
Wed, 14 Feb 2024 23:05:59 +0000 (00:05 +0100)
Harmless to carry this fix until procd.sh adds the param

This parameter will mean umdns advertises not just "OpenWrt" but a more
appropriate string:

"Apple LaserWriter Pro 630"

Signed-off-by: Paul Donald <newtwen@gmail.com>
(cherry picked from commit 60be0017753364069c044dd591b3ef1e0e3f8438)

net/p910nd/files/p910nd.init

index b8ce9915907c2490bce17d5eb43e44809637b78c..092a918ab0f2bab6dfe796f8162af572c3aa4153 100644 (file)
@@ -83,7 +83,7 @@ start_p910nd() {
                        [ -n "$mdns_ver" ] && set -- "$@" "usb_VER=$mdns_ver"
 
                        # Call procd_add_mdns with the positional parameters
-                       procd_add_mdns "$@"
+                       MDNS_INSTANCE_NAME="$mdns_ty" procd_add_mdns "$@"
                fi
                procd_close_instance
        fi