p910nd: init: partial fix for openwrt/packages#10496
authorPaul Donald <newtwen@gmail.com>
Sat, 10 Feb 2024 21:02:58 +0000 (22:02 +0100)
committerRosen Penev <rosenp@gmail.com>
Sun, 11 Feb 2024 23:48:49 +0000 (15:48 -0800)
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>
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