package/mender: fixing init script naming
authorAngelo Compagnucci <angelo@amarulasolutions.com>
Tue, 5 Feb 2019 14:16:41 +0000 (15:16 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 5 Feb 2019 14:37:05 +0000 (15:37 +0100)
Commit f88947c2fe2d (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>
package/mender/mender.mk

index 0d719382f80911b57cc81f756803069f37056fcf..ae5bcb8101145e1c8d30bcfd435dde64ccf49074 100644 (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))