hostapd: use ${PN} for SYSTEMD_SERVICE

Use ${PN} for SYSTEMD_SERVICE to avoid errors in case of multilib.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Chen Qi 2014-09-16 16:14:32 +08:00 committed by Martin Jansa
parent 7325e284b6
commit cf2ab9ecbf

View File

@ -7,9 +7,9 @@ SUMMARY = "User space daemon for extended IEEE 802.11 management"
inherit update-rc.d systemd
INITSCRIPT_NAME = "hostapd"
SYSTEMD_PACKAGES = "hostapd"
SYSTEMD_SERVICE_hostapd = "hostapd.service"
SYSTEMD_AUTO_ENABLE_hostapd = "disable"
SYSTEMD_SERVICE_${PN} = "hostapd.service"
SYSTEMD_AUTO_ENABLE_${PN} = "disable"
DEFAULT_PREFERENCE = "-1"