Fix init script install permission
authorFlorian Fainelli <florian@openwrt.org>
Tue, 1 Aug 2006 11:56:12 +0000 (11:56 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 1 Aug 2006 11:56:12 +0000 (11:56 +0000)
SVN-Revision: 4363

utils/collectd/Makefile

index edf2114..47c5a6b 100644 (file)
@@ -65,7 +65,7 @@ define Package/collectd/install
        install -d -m0755 $(1)/usr/lib/collectd
        install -d -m0755 $(1)/var/lib/collectd
        install -d -m0755 $(1)/var/run
-       $(CP) ./files/S80collectd $(1)/etc/init.d/
+       install -m0755 ./files/S80collectd $(1)/etc/init.d/
        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/collectd $(1)/usr/sbin/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/collectd/*.so $(1)/usr/lib/collectd/
 endef