aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2018-09-19 12:03:28 -0700
committerJohn Crispin <john@phrozen.org>2018-10-11 08:06:09 +0200
commit745c3acd6476a89995b812c319abea9f3af08eb0 (patch)
treed0b8755e16fd10f726ceb2895015b8e32453d13c
parent49065d227a8ff2b4ceb758b501c5dfeba4dc1e67 (diff)
downloadupstream-745c3acd6476a89995b812c319abea9f3af08eb0.tar.gz
upstream-745c3acd6476a89995b812c319abea9f3af08eb0.tar.bz2
upstream-745c3acd6476a89995b812c319abea9f3af08eb0.zip
soloscli: Install hotplug file as 600
Hotplug is managed by procd, which runs as root. Signed-off-by: Rosen Penev <rosenp@gmail.com>
-rw-r--r--package/network/config/soloscli/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/config/soloscli/Makefile b/package/network/config/soloscli/Makefile
index a27173aa85..877a0f275b 100644
--- a/package/network/config/soloscli/Makefile
+++ b/package/network/config/soloscli/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=soloscli
PKG_VERSION:=1.04
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=solos-pci-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/openadsl
@@ -39,7 +39,7 @@ define Package/soloscli/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/soloscli/soloscli $(1)/usr/bin/
$(INSTALL_BIN) ./files/solos-log-stats $(1)/usr/bin/
$(INSTALL_DIR) $(1)/etc/hotplug.d/atm
- $(INSTALL_DATA) ./files/etc/hotplug.d/atm/15-solos-init $(1)/etc/hotplug.d/atm/
+ $(INSTALL_CONF) ./files/etc/hotplug.d/atm/15-solos-init $(1)/etc/hotplug.d/atm/
endef
$(eval $(call BuildPackage,soloscli))