From acb268f78f81f7ecab00e9d335075925d4efd40c Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 30 Nov 2014 15:18:15 +0100 Subject: [PATCH] mpd: use _INSTALL_INIT_SYSV mechanism Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- package/mpd/mpd.mk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk index 5448251b76..1eedcbcb3c 100644 --- a/package/mpd/mpd.mk +++ b/package/mpd/mpd.mk @@ -232,10 +232,13 @@ define MPD_INSTALL_EXTRA_FILES $(INSTALL) -D package/mpd/mpd.conf \ $(TARGET_DIR)/etc/mpd.conf; \ fi - $(INSTALL) -m 0755 -D package/mpd/S95mpd \ - $(TARGET_DIR)/etc/init.d/S95mpd endef MPD_POST_INSTALL_TARGET_HOOKS += MPD_INSTALL_EXTRA_FILES +define MPD_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/mpd/S95mpd \ + $(TARGET_DIR)/etc/init.d/S95mpd +endef + $(eval $(autotools-package)) -- 2.30.2