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>
This commit is contained in:
Thomas Petazzoni 2014-11-30 15:18:14 +01:00 committed by Peter Korsgaard
parent 577a1b2072
commit efe16ae118

View File

@ -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))