Skip to content

Commit

Permalink
add instructions for installing hwe kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
jawabuu committed Jun 16, 2020
1 parent c950c6c commit 932c6fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions security/wireguard/scripts/install-kernel-headers.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/bin/sh
set -e

# Uncomment below to use HWE kernel if on Ubuntu 18.04. Solves Wireguard Issue.
#apt-get -yq install --install-recommends linux-generic-hwe-18.04
#(sleep 2 && reboot)&
#shutdown -r +0

if modprobe wireguard; then
echo "Skipping Linux Headers Install.."
exit 0
Expand Down

0 comments on commit 932c6fa

Please sign in to comment.