connman: use the *_INSTALL_INIT_SYSV infra instead of the custom hook
authorSamuel Martin <s.martin49@gmail.com>
Wed, 22 Jan 2014 20:59:39 +0000 (21:59 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 22 Jan 2014 21:06:30 +0000 (22:06 +0100)
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/connman/connman.mk

index 64c1f0e01e08c4f1055aebee1b418527b524b7e3..1979454a6762763782e997867da9dfeb9ff04c85 100644 (file)
@@ -24,11 +24,10 @@ CONNMAN_DEPENDENCIES += \
        $(if $(BR2_PACKAGE_CONNMAN_NEARD),neard) \
        $(if $(BR2_PACKAGE_CONNMAN_OFONO),ofono)
 
-define CONNMAN_INSTALL_INITSCRIPT
+define CONNMAN_INSTALL_INIT_SYSV
        $(INSTALL) -m 0755 -D package/connman/S45connman $(TARGET_DIR)/etc/init.d/S45connman
 endef
 
-CONNMAN_POST_INSTALL_TARGET_HOOKS = CONNMAN_INSTALL_INITSCRIPT
 
 ifeq ($(BR2_PACKAGE_CONNMAN_CLIENT),y)
 CONNMAN_CONF_OPT += --enable-client