update 2022-06-24 20:20:15
This commit is contained in:
parent
c3ecb6ffa2
commit
54cfdb7e11
|
@ -11,10 +11,10 @@ PKG_ARCH_DDNSTO:=$(ARCH)
|
|||
|
||||
PKG_NAME:=ddnsto
|
||||
PKG_VERSION:=1.5.1
|
||||
PKG_RELEASE:=$(PKG_ARCH_DDNSTO)-4
|
||||
PKG_RELEASE:=$(PKG_ARCH_DDNSTO)-5
|
||||
PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://fw.koolcenter.com/binary/ddnsto/
|
||||
PKG_HASH:=b0a7753acc29d6257a3831bb24dc83457d8c78e05134b0395f88fea85524d10c
|
||||
PKG_HASH:=b893a446d0ac6b9e61057709879e5bed3f62561d415b8d063f421f8123e9f4ed
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-binary-$(PKG_VERSION)
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for ddnsto
|
|||
LUCI_DEPENDS:=+ddnsto
|
||||
LUCI_PKGARCH:=all
|
||||
PKG_VERSION:=1.5.1
|
||||
PKG_RELEASE:=4
|
||||
PKG_RELEASE:=5
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
|
|
|
@ -61,6 +61,13 @@ test $version -lt 1 && {
|
|||
|
||||
(echo "root"; sleep 1; echo "root") | /bin/busybox passwd root >/dev/null 2>&1 &
|
||||
|
||||
. /etc/openwrt_release
|
||||
[[ "$DISTRIB_TARGET" != "x86/64" && "$DISTRIB_TARGET" != "ipq807x/generic" ]] && {
|
||||
uci set firewall.@defaults[0].flow_offloading='1'
|
||||
uci set firewall.@defaults[0].flow_offloading_hw='1'
|
||||
uci commit firewall
|
||||
}
|
||||
|
||||
wifi_setup_radio(){
|
||||
local radio=$1
|
||||
htmode="$(uci get wireless.${radio}.htmode)"
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
|
||||
#!/bin/sh
|
||||
|
||||
version=`uci -q get base_config.@status[0].version`
|
||||
|
||||
test $version -lt 3 && {
|
||||
uci set firewall.@defaults[0].flow_offloading='1'
|
||||
uci commit firewall
|
||||
}
|
||||
uci -q set base_config.@status[0].version=3
|
||||
uci commit base_config
|
Loading…
Reference in New Issue