package/mender: fixing init script naming

Commit f88947c2fe (package/mender: adding systemv init file) added an init
script, but the installation logic referred to S04mender instead of S42mender.

Update the installation logic to match the file name.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
[Peter: expand commit message description]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Angelo Compagnucci 2019-02-05 15:16:41 +01:00 committed by Peter Korsgaard
parent a2bdf45b7e
commit 097e85abfc

View File

@ -70,8 +70,8 @@ define MENDER_INSTALL_INIT_SYSTEMD
endef
define MENDER_INSTALL_INIT_SYSV
$(INSTALL) -D -m 755 package/mender/S04mender \
$(TARGET_DIR)/etc/init.d/S04mender
$(INSTALL) -D -m 755 package/mender/S42mender \
$(TARGET_DIR)/etc/init.d/S42mender
endef
$(eval $(golang-package))