diff --git a/package/netatalk/netatalk.mk b/package/netatalk/netatalk.mk index 5ea55c25c9..6c1b64094d 100644 --- a/package/netatalk/netatalk.mk +++ b/package/netatalk/netatalk.mk @@ -50,12 +50,9 @@ else NETATALK_CONF_OPTS += --disable-cups endif -define NETATALK_INSTALL_EXTRA_FILES - [ -f $(TARGET_DIR)/etc/init.d/S50netatalk ] || \ - $(INSTALL) -m 0755 -D package/netatalk/S50netatalk \ - $(TARGET_DIR)/etc/init.d/S50netatalk +define NETATALK_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/netatalk/S50netatalk \ + $(TARGET_DIR)/etc/init.d/S50netatalk endef -NETATALK_POST_INSTALL_TARGET_HOOKS += NETATALK_INSTALL_EXTRA_FILES - $(eval $(autotools-package))