aboutsummaryrefslogtreecommitdiff
path: root/net/openconnect/files
diff options
context:
space:
mode:
authorRui Salvaterra <rsalvaterra@gmail.com>2022-05-19 14:01:00 +0100
committerRui Salvaterra <rsalvaterra@gmail.com>2022-05-23 23:58:42 +0100
commit9bbecd2438f51a335b1c97d04c9480f7be4158ac (patch)
tree5947d7d70463f8a758966082500a5d8a8c756170 /net/openconnect/files
parent131ec7b3bd6895aa3f86f57169dd23c15f174fe2 (diff)
openconnect: don't bother loading the tun module
If it exists (if it isn't built-in), it will be loaded automatically at boot. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Diffstat (limited to 'net/openconnect/files')
-rwxr-xr-xnet/openconnect/files/openconnect.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/openconnect/files/openconnect.sh b/net/openconnect/files/openconnect.sh
index 0cf4408fb..b794296c0 100755
--- a/net/openconnect/files/openconnect.sh
+++ b/net/openconnect/files/openconnect.sh
@@ -62,7 +62,6 @@ proto_openconnect_setup() {
usergroup \
username \
- grep -q tun /proc/modules || insmod tun
ifname="vpn-$config"
logger -t openconnect "initializing..."