mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-04 03:23:56 +08:00
🌴 Sync 2026-03-05 23:51:42
This commit is contained in:
1 parent
97c049ed0a
commit
0acff03804
14253 files changed
+3893239
No files matched your search
Executable
+40
@@ -0,0 +1,40 @@
|
||||
:
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=pingcontrol
|
||||
PKG_VERSION:=1
|
||||
PKG_RELEASE:=1
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/pingcontrol
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/pingcontrol
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=Network interface watchdog
|
||||
PKGARCH:=all
|
||||
endef
|
||||
|
||||
define Package/pingcontrol/description
|
||||
This package contains a utility for managing the interface using ping requests.
|
||||
endef
|
||||
|
||||
define Build/Prepare
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/pingcontrol/install
|
||||
$(INSTALL_DIR) $(1)/bin
|
||||
$(INSTALL_BIN) ./files/pingcontrol $(1)/bin/
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(CP) ./files/pingcontrol.config $(1)/etc/config/pingcontrol
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files/pingcontrol.init $(1)/etc/init.d/pingcontrol
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,pingcontrol))
|
||||
Reference in new issue
Block a user