Skip to content

Commit

Permalink
Add new options to wsd_simple_server command
Browse files Browse the repository at this point in the history
  • Loading branch information
roleoroleo committed Jul 14, 2023
1 parent c6dd883 commit f96cdfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/static/static/yi-hack/script/system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ if [[ $(get_config ONVIF) == "yes" ]] ; then
onvif_simple_server --conf_file $ONVIF_SRVD_CONF

if [[ $(get_config ONVIF_WSDD) == "yes" ]] ; then
wsd_simple_server --pid_file /var/run/wsd_simple_server.pid --if_name $ONVIF_NETIF --xaddr "http://%s$D_HTTPD_PORT/onvif/device_service"
wsd_simple_server --pid_file /var/run/wsd_simple_server.pid --if_name $ONVIF_NETIF --xaddr "http://%s$D_HTTPD_PORT/onvif/device_service" -m yi_hack -n Yi
fi
fi

Expand Down
2 changes: 1 addition & 1 deletion src/www/httpd/cgi-bin/service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ stop_onvif()

start_wsdd()
{
wsd_simple_server --pid_file /var/run/wsd_simple_server.pid --if_name $ONVIF_NETIF --xaddr "http://%s$D_HTTPD_PORT/onvif/device_service"
wsd_simple_server --pid_file /var/run/wsd_simple_server.pid --if_name $ONVIF_NETIF --xaddr "http://%s$D_HTTPD_PORT/onvif/device_service" -m yi_hack -n Yi
}

stop_wsdd()
Expand Down

0 comments on commit f96cdfb

Please sign in to comment.