smartmontools: Made the init script executable on installation
git-svn-id: svn://svn.openwrt.org/openwrt/packages@7931 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
96cca6cd04
commit
69dd84fcec
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=smartmontools
|
PKG_NAME:=smartmontools
|
||||||
PKG_VERSION:=5.37
|
PKG_VERSION:=5.37
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@SF/smartmontools
|
PKG_SOURCE_URL:=@SF/smartmontools
|
||||||
@ -55,7 +55,7 @@ define Package/smartmontools/install
|
|||||||
$(INSTALL_DIR) $(1)/etc
|
$(INSTALL_DIR) $(1)/etc
|
||||||
$(INSTALL_DATA) ./files/smartd.conf $(1)/etc
|
$(INSTALL_DATA) ./files/smartd.conf $(1)/etc
|
||||||
$(INSTALL_DIR) $(1)/etc/init.d
|
$(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
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,smartmontools))
|
$(eval $(call BuildPackage,smartmontools))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user