From: Rod Whitby Date: Thu, 12 Jul 2007 08:15:45 +0000 (+0000) Subject: smartmontools: Made the init script executable on installation X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=16e34ca6643f8e94113d73d2ceecc12a7734c278 smartmontools: Made the init script executable on installation SVN-Revision: 7931 --- diff --git a/utils/smartmontools/Makefile b/utils/smartmontools/Makefile index c35d2d71b2..44f3190c89 100644 --- a/utils/smartmontools/Makefile +++ b/utils/smartmontools/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=smartmontools PKG_VERSION:=5.37 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/smartmontools @@ -55,7 +55,7 @@ define Package/smartmontools/install $(INSTALL_DIR) $(1)/etc $(INSTALL_DATA) ./files/smartd.conf $(1)/etc $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_DATA) ./files/smartd.init $(1)/etc/init.d/smartd + $(INSTALL_BIN) ./files/smartd.init $(1)/etc/init.d/smartd endef $(eval $(call BuildPackage,smartmontools))