xunyou: fix ifname (#6)
This commit is contained in:
parent
2e7562d040
commit
04ebecb859
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=xunyou
|
||||
PKG_VERSION:=1.0.9.1
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-binary-$(PKG_VERSION)
|
||||
|
@ -9,7 +9,7 @@ ifname=$(
|
||||
|
||||
network_is_up "lan" || exit 1
|
||||
network_get_device device "lan"
|
||||
printf "%s " "${device:-br-lan}"
|
||||
printf "%s" "${device:-br-lan}"
|
||||
)
|
||||
[ -z "$ifname" ] && ifname="br-lan"
|
||||
|
||||
|
@ -9,7 +9,7 @@ ifname=$(
|
||||
|
||||
network_is_up "lan" || exit 1
|
||||
network_get_device device "lan"
|
||||
printf "%s " "${device:-br-lan}"
|
||||
printf "%s" "${device:-br-lan}"
|
||||
)
|
||||
[ -z "$ifname" ] && ifname="br-lan"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user