diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-09-16 15:14:35 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-09-16 15:14:35 +0200 |
commit | 78e7c0b642a0decf6dad37026b3f70bb480f645b (patch) | |
tree | 7b14ef6d4ba93bf88a23ca68d5f6a3f577a29889 /package/dmraid/dmraid.mk | |
parent | e7895986de4ec8819dbb7da4b939d8daec6606a2 (diff) |
dmraid: fix init script
Init scripts are only run if they are prefixed with S??, and dmraid gets
installed into /usr/sbin, not /sbin.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/dmraid/dmraid.mk')
-rw-r--r-- | package/dmraid/dmraid.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/dmraid/dmraid.mk b/package/dmraid/dmraid.mk index ccd6a3626..f3e58c109 100644 --- a/package/dmraid/dmraid.mk +++ b/package/dmraid/dmraid.mk @@ -14,11 +14,11 @@ DMRAID_INSTALL_STAGING:=yes define DMRAID_INSTALL_TARGET_CMDS $(INSTALL) -m 0755 $(@D)/$(DMRAID_SUBDIR)/tools/dmraid $(TARGET_DIR)/usr/sbin - $(INSTALL) -m 0755 package/dmraid/dmraid.init $(TARGET_DIR)/etc/init.d/dmraid + $(INSTALL) -m 0755 package/dmraid/dmraid.init $(TARGET_DIR)/etc/init.d/S20dmraid endef define DMRAID_UNINSTALL_TARGET_CMDS - rm -f $(TARGET_DIR)/usr/sbin/dmraid $(TARGET_DIR)/etc/init.d/dmraid + rm -f $(TARGET_DIR)/usr/sbin/dmraid $(TARGET_DIR)/etc/init.d/S20dmraid endef $(eval $(call AUTOTARGETS,package,dmraid)) |