aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/trelay/Makefile
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2018-09-18 18:32:18 -0700
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2018-09-19 09:41:28 +0100
commit39d8b2cf7925911a5e5340cd86eb63bb0729a4f9 (patch)
treec50aa7c2c0d50239485cfd606cb17dcda32bfb85 /package/kernel/trelay/Makefile
parent7651e254d5f17ba1f3cf16065b4fa1e5f4a3a3f6 (diff)
downloadupstream-39d8b2cf7925911a5e5340cd86eb63bb0729a4f9.tar.gz
upstream-39d8b2cf7925911a5e5340cd86eb63bb0729a4f9.tar.bz2
upstream-39d8b2cf7925911a5e5340cd86eb63bb0729a4f9.zip
trelay: Install hotplug and config files as 600
The hotplug file is ran by procd, which runs as root. The config file is used by the init script, which also runs as root. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package/kernel/trelay/Makefile')
-rw-r--r--package/kernel/trelay/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/kernel/trelay/Makefile b/package/kernel/trelay/Makefile
index 525a028c35..258cbb184a 100644
--- a/package/kernel/trelay/Makefile
+++ b/package/kernel/trelay/Makefile
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=trelay
PKG_VERSION:=0.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
include $(INCLUDE_DIR)/package.mk
@@ -41,9 +41,9 @@ endef
define KernelPackage/trelay/install
$(INSTALL_DIR) $(1)/etc/hotplug.d/net $(1)/etc/init.d $(1)/etc/config
- $(INSTALL_DATA) ./files/trelay.hotplug $(1)/etc/hotplug.d/net/50-trelay
+ $(INSTALL_CONF) ./files/trelay.hotplug $(1)/etc/hotplug.d/net/50-trelay
$(INSTALL_BIN) ./files/trelay.init $(1)/etc/init.d/trelay
- $(INSTALL_DATA) ./files/trelay.config $(1)/etc/config/trelay
+ $(INSTALL_CONF) ./files/trelay.config $(1)/etc/config/trelay
endef
$(eval $(call KernelPackage,trelay))