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: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
e9beb4aea5
commit
a5a705d2c9
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user