diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2021-12-26 01:58:26 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2021-12-26 01:59:27 +0100 |
commit | cdf38e44ebcfd9e3d8ff987bfaa9a93bb9b9757f (patch) | |
tree | 0513be8e9ce982178734de379896126c1cf6257b | |
parent | bfcba31818ae891ae0d4820c36c5aa95197d5f5a (diff) | |
download | aports-cdf38e44ebcfd9e3d8ff987bfaa9a93bb9b9757f.tar.gz aports-cdf38e44ebcfd9e3d8ff987bfaa9a93bb9b9757f.tar.bz2 aports-cdf38e44ebcfd9e3d8ff987bfaa9a93bb9b9757f.tar.xz |
community/connman: ensure that tun module is loaded for openvpn
-rw-r--r-- | community/connman/APKBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/community/connman/APKBUILD b/community/connman/APKBUILD index 9e0caeff43..eb06f358a0 100644 --- a/community/connman/APKBUILD +++ b/community/connman/APKBUILD @@ -3,7 +3,7 @@ # Contributor: Jakub Jirutka <jakub@jirutka.cz> pkgname=connman pkgver=1.40 -pkgrel=7 +pkgrel=8 pkgdesc="Daemon for managing internet connections" url="https://git.kernel.org/pub/scm/network/connman/connman.git" arch="all" @@ -144,6 +144,9 @@ openvpn() { amove etc/connman/vpn-plugin/openvpn.conf amove usr/lib/connman/plugins-vpn/openvpn.so amove usr/lib/connman/scripts/openvpn-script + + echo 'tun' | install -Dm644 /dev/stdin \ + "$subpkgdir"/usr/lib/modules-load.d/$subpkgname.conf } vpnc() { |