1 # SPDX-License-Identifier: GPL-2.0-only
3 # Copyright (C) 2021 Simon Polack <spolack+git@@mailbox.org>
6 include $(TOPDIR
)/rules.mk
8 PKG_NAME
:=airos-dfs-reset
12 PKG_MAINTAINER
:=Simon Polack
<spolack
+git@mailbox.org
>
13 PKG_LICENSE
:=GPL-2.0
-only
15 include $(INCLUDE_DIR
)/package.mk
17 define Package
/airos-dfs-reset
20 TITLE
:=Companion app for Ubiquity AirOS to help with DFS
22 EXTRA_DEPENDS
:=dropbear
25 define Package
/airos-dfs-reset
/description
26 Companion app for Ubiquity AirOS Gear to enforce fallback to original frequency after DFS event is over.
27 It works by soft-rebooting if running-frequency doesnt match the configured frequency.
30 define Package
/airos-dfs-reset
/conffiles
31 /etc
/config
/airos-dfs-reset
37 define Package
/airos-dfs-reset
/install
38 $(INSTALL_DIR
) $(1)/etc
/init.d
39 $(INSTALL_BIN
) .
/files
/airos-dfs-reset.init
$(1)/etc
/init.d
/airos-dfs-reset
40 $(INSTALL_DIR
) $(1)/usr
/bin
41 $(INSTALL_BIN
) .
/files
/airos-dfs-reset
$(1)/usr
/bin
/airos-dfs-reset
42 $(INSTALL_DIR
) $(1)/etc
/config
43 $(INSTALL_DATA
) .
/files
/airos-dfs-reset.config
$(1)/etc
/config
/airos-dfs-reset
46 $(eval
$(call BuildPackage
,airos-dfs-reset
))