ppp: remove obsolete bbappend
[opendreambox.git] / meta-opendreambox / recipes-core / dropbear / dropbear_2013.58.bbappend
1 SRC_URI += "file://dropbear.xinetd.in \
2             file://dropbearkey.service \
3             file://dropbear@.service \
4             file://dropbear.socket"
5
6 SYSTEMD_SERVICE_${PN} = "dropbear.socket"
7
8 inherit systemd xinetd
9
10 do_install_append() {
11         install -d ${D}${sysconfdir}/default
12         echo 'DROPBEAR_EXTRA_ARGS="-B"' > ${D}${sysconfdir}/default/dropbear
13         echo 'DAEMON="${base_bindir}/true"' >> ${D}${sysconfdir}/default/dropbear
14
15         install -d ${D}${systemd_unitdir}/system
16         ln -sf /dev/null ${D}${systemd_unitdir}/system/dropbear.service
17         install -m644 ${WORKDIR}/dropbear@.service ${D}${systemd_unitdir}/system
18         install -m644 ${WORKDIR}/dropbear.socket ${D}${systemd_unitdir}/system
19         install -m644 ${WORKDIR}/dropbearkey.service ${D}${systemd_unitdir}/system
20 }
21
22 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"