xunyou: fix ifname (#6)

This commit is contained in:
练亮斌 2021-11-05 10:36:49 +08:00 committed by GitHub
parent 2e7562d040
commit 04ebecb859
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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"

View File

@ -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"