diff options
Diffstat (limited to 'meta-networking')
| -rw-r--r-- | meta-networking/recipes-support/openvpn/openvpn/openvpn-volatile.conf | 2 | ||||
| -rw-r--r-- | meta-networking/recipes-support/openvpn/openvpn_2.3.9.bb | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/openvpn/openvpn/openvpn-volatile.conf b/meta-networking/recipes-support/openvpn/openvpn/openvpn-volatile.conf index 4a3dc4a460..1205806d52 100644 --- a/meta-networking/recipes-support/openvpn/openvpn/openvpn-volatile.conf +++ b/meta-networking/recipes-support/openvpn/openvpn/openvpn-volatile.conf | |||
| @@ -1 +1 @@ | |||
| d /var/run/openvpn 0755 root root - | d @LOCALSTATEDIR@/run/openvpn 0755 root root - | ||
diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.3.9.bb b/meta-networking/recipes-support/openvpn/openvpn_2.3.9.bb index 8dd45669f3..8892a9e053 100644 --- a/meta-networking/recipes-support/openvpn/openvpn_2.3.9.bb +++ b/meta-networking/recipes-support/openvpn/openvpn_2.3.9.bb | |||
| @@ -50,6 +50,7 @@ do_install_append() { | |||
| 50 | 50 | ||
| 51 | install -d ${D}${sysconfdir}/tmpfiles.d | 51 | install -d ${D}${sysconfdir}/tmpfiles.d |
| 52 | install -m 0644 ${WORKDIR}/openvpn-volatile.conf ${D}${sysconfdir}/tmpfiles.d/openvpn.conf | 52 | install -m 0644 ${WORKDIR}/openvpn-volatile.conf ${D}${sysconfdir}/tmpfiles.d/openvpn.conf |
| 53 | sed -i -e 's#@LOCALSTATEDIR@#${localstatedir}#g' ${D}${sysconfdir}/tmpfiles.d/openvpn.conf | ||
| 53 | fi | 54 | fi |
| 54 | } | 55 | } |
| 55 | 56 | ||
