Commit a5a705d2 authored by Maxim Mikityanskiy's avatar Maxim Mikityanskiy Committed by Thomas Petazzoni
Browse files

package/dropbear: install dropbear.service to correct dir



The place for package-provided systemd units is /lib/systemd/system.
/etc/systemd/system is for custom units.
Reviewed-by: default avatarSamuel Martin <s.martin49@gmail.com>

Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent e9beb4ae
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -53,9 +53,9 @@ endef

define DROPBEAR_INSTALL_INIT_SYSTEMD
	$(INSTALL) -D -m 644 package/dropbear/dropbear.service \
		$(TARGET_DIR)/etc/systemd/system/dropbear.service
		$(TARGET_DIR)/lib/systemd/system/dropbear.service
	mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
	ln -fs ../dropbear.service \
	ln -fs /lib/systemd/system/dropbear.service \
		$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/dropbear.service
endef