Ver código fonte

soloscli: Install hotplug file as 600

Hotplug is managed by procd, which runs as root.

Signed-off-by: Rosen Penev <[email protected]>
Rosen Penev 7 anos atrás
pai
commit
745c3acd64
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      package/network/config/soloscli/Makefile

+ 2 - 2
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))