Finally to production
This commit is contained in:
parent
3d79575f03
commit
ec037a2e00
5 changed files with 38 additions and 25 deletions
|
@ -17,10 +17,10 @@ DEPENDS:=
|
|||
endef
|
||||
|
||||
define Package/cronosagent/description
|
||||
CronosAgent for BrandMeister DMR Master Server
|
||||
Allows to connect Radio Activity KAIROS Repetaters to BrandMeister DMR Master Server
|
||||
Radio Activity KAIROS should have built-in feature of External Server Access
|
||||
which is available on firmware customization 008 (Radio Amateur community)
|
||||
CronosAgent for BrandMeister DMR Master Server
|
||||
Allows to connect Radio Activity KAIROS Repetaters to BrandMeister DMR Master Server
|
||||
Radio Activity KAIROS should have built-in feature of External Server Access
|
||||
which is available on firmware customization 008 (Radio Amateur community)
|
||||
endef
|
||||
|
||||
define Build/Prepare
|
||||
|
@ -28,20 +28,6 @@ define Build/Prepare
|
|||
$(CP) -R $(X_SOURCE_DIR)/* $(PKG_BUILD_DIR)/
|
||||
endef
|
||||
|
||||
define Package/cronosagent/conffiles
|
||||
/etc/config/cronosagent
|
||||
endef
|
||||
|
||||
define Package/cronosagent/postinst
|
||||
#!/bin/sh
|
||||
/etc/init.d/cronosagent enable
|
||||
endef
|
||||
|
||||
define Package/cronosagent/prerm
|
||||
#!/bin/sh
|
||||
/etc/init.d/cronosagent disable
|
||||
endef
|
||||
|
||||
define Package/cronosagent/install
|
||||
$(INSTALL_DIR) $(1)/opt/CronosAgent
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
|
@ -56,4 +42,21 @@ define Package/cronosagent/install
|
|||
$(INSTALL_DATA) $(X_SOURCE_DIR)/OpenWRT/model/cbi/cronosagent/configure.lua $(1)/usr/lib/lua/luci/model/cbi/cronosagent/
|
||||
endef
|
||||
|
||||
define Package/cronosagent/conffiles
|
||||
/etc/config/cronosagent
|
||||
endef
|
||||
|
||||
define Package/cronosagent/postinst
|
||||
#!/bin/sh
|
||||
/etc/init.d/cronosagent enable
|
||||
exit 0
|
||||
endef
|
||||
|
||||
define Package/cronosagent/prerm
|
||||
#!/bin/sh
|
||||
/etc/init.d/cronosagent stop
|
||||
/etc/init.d/cronosagent disable
|
||||
exit 0
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,cronosagent))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue