From: Rui Salvaterra Date: Thu, 19 May 2022 13:01:00 +0000 (+0100) Subject: openconnect: don't bother loading the tun module X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=9bbecd2438f51a335b1c97d04c9480f7be4158ac;p=openwrt-packages.git 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 --- 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..."