summaryrefslogtreecommitdiffstats
path: root/package/at/at.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-30 15:18:14 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-12-01 23:06:51 +0100
commitefe16ae118570f26212dc9210071fa0949a0e482 (patch)
treec0a49cf65739be39d97541a873a4cbfd1aff6184 /package/at/at.mk
parent577a1b2072ce4cc00c7bf7b8b966bb61fd98293a (diff)
downloadbuildroot-efe16ae118570f26212dc9210071fa0949a0e482.tar.gz
buildroot-efe16ae118570f26212dc9210071fa0949a0e482.zip
at: use <pkg>_INSTALL_INIT_SYSV mechanism
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/at/at.mk')
-rw-r--r--package/at/at.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/package/at/at.mk b/package/at/at.mk
index 851a05bc19..1504e32a62 100644
--- a/package/at/at.mk
+++ b/package/at/at.mk
@@ -21,10 +21,8 @@ AT_CONF_OPTS = \
--with-daemon_groupname=root \
SENDMAIL=/usr/sbin/sendmail
-define AT_INSTALL_INITSCRIPT
+define AT_INSTALL_INIT_SYSV
$(INSTALL) -m 0755 -D package/at/S99at $(TARGET_DIR)/etc/init.d/S99at
endef
-AT_POST_INSTALL_TARGET_HOOKS += AT_INSTALL_INITSCRIPT
-
$(eval $(autotools-package))
OpenPOWER on IntegriCloud