Skip to content

Commit e659a5e

Browse files
committed
remove unnecessary modprobe
1 parent d11475e commit e659a5e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

wireguard-install.sh

-8
Original file line numberDiff line numberDiff line change
@@ -211,14 +211,6 @@ function installWireGuard() {
211211
yum update -y
212212
amazon-linux-extras install epel -y
213213
yum install -y wireguard-tools iptables qrencode
214-
215-
# Enable WireGuard kernel module
216-
echo "Enabling WireGuard kernel module..."
217-
modprobe wireguard
218-
if ! lsmod | grep -q wireguard; then
219-
echo "Failed to load WireGuard kernel module"
220-
exit 1
221-
fi
222214
fi
223215
224216
# Make sure the directory exists (this does not seem the be the case on fedora)

0 commit comments

Comments
 (0)