Skip to content

hotplug-initd-services

https://github.com/libremesh/lime-packages/blob/master/packages/hotplug-initd-services

Makefile

#
# Copyright (C) 2019 Gioacchino Mazzurco <gio@altermundi.net>
#
# This is free software, licensed under the GNU Affero General Public License v3.
#

include ../../libremesh.mk

define Package/$(PKG_NAME)
	TITLE:=Hotplug events of init.d services
	CATEGORY:=LibreMesh
	MAINTAINER:=Gioacchino Mazzurco <gio@altermundi.net>
	URL:=http://libremesh.org
	DEPENDS:=+libubox-lua +libubus-lua \
		+lua +luci-lib-nixio
	PKGARCH:=all
endef

define Package/$(PKG_NAME)/description
	Provide trigger hotplug events when init.d services are started and
	stopped. Put your hooks into /etc/hotplug.d/initd/.
endef

$(eval $(call BuildPackage,$(PKG_NAME)))