mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
ssdpd: 1.0.3
This commit is contained in:
parent
fae6a213ac
commit
cbbe02096f
3 changed files with 4 additions and 8 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=ssdpd
|
PKG_NAME:=ssdpd
|
||||||
PKG_VERSION:=1.0.2
|
PKG_VERSION:=1.0.3
|
||||||
|
|
||||||
LOCAL_DEV:=0
|
LOCAL_DEV:=0
|
||||||
ifneq ($(LOCAL_DEV),1)
|
ifneq ($(LOCAL_DEV),1)
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,4 @@ config ssdpd 'ssdp'
|
||||||
option ipv6_enabled '0'
|
option ipv6_enabled '0'
|
||||||
option socket_path '/var/run/minissdpd.sock'
|
option socket_path '/var/run/minissdpd.sock'
|
||||||
option ttl '2'
|
option ttl '2'
|
||||||
option interface ''
|
option interface 'br-lan'
|
||||||
|
|
|
||||||
|
|
@ -55,12 +55,8 @@ configure_ssdp()
|
||||||
procd_append_param command -t ${ttl}
|
procd_append_param command -t ${ttl}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "${interface}" ]; then
|
# If no interface is given defaults for br-lan
|
||||||
iface=$(uci -q get cwmp.cpe.default_lan_interface)
|
procd_append_param command -i ${interface:-br-lan}
|
||||||
interface=$(ifstatus ${iface} | jsonfilter -e @.device)
|
|
||||||
fi
|
|
||||||
|
|
||||||
procd_append_param command -i ${interface}
|
|
||||||
procd_append_param command -d
|
procd_append_param command -d
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue