Skip to content

Commit

Permalink
openconnect: don't bother loading the tun module
Browse files Browse the repository at this point in the history
If it exists (if it isn't built-in), it will be loaded automatically at boot.

Signed-off-by: Rui Salvaterra <[email protected]>
  • Loading branch information
rsalvaterra authored and Beginner-Go committed May 24, 2022
1 parent 9513b30 commit e2736ca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/openconnect/files/openconnect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ proto_openconnect_setup() {
usergroup \
username \

grep -q tun /proc/modules || insmod tun
ifname="vpn-$config"

logger -t openconnect "initializing..."
Expand Down

0 comments on commit e2736ca

Please sign in to comment.