Bugfix systemd configuration
@@ -31,7 +31,7 @@ define DSPTOOLKIT_INSTALL_INIT
$(TARGET_DIR)/etc/init.d/S90sigmatcp
$(INSTALL) -D -m 0755 $(BR2_EXTERNAL_HIFIBERRY_PATH)/package/dsptoolkit/sigmatcp.service \
$(TARGET_DIR)/usr/lib/systemd/system/sigmatcp.service
- if [ -f /etc/systemd/system/multi-user.target.wants ]; then \
+ if [ -d $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants ]; then \
ln -fs ../../../../usr/lib/systemd/system/sigmatcp.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/sigmatcp.service; \
fi
