Skip to content
This repository has been archived by the owner on Jan 22, 2020. It is now read-only.

Added a message over the update of the module #24

Merged
merged 4 commits into from
Aug 10, 2017

Conversation

EggieCode
Copy link
Owner

A update for wireguard-dkms to message you need to rmmod wireguard && modprobe wireguard for enabling the new version.

Ping: @zx2c4 , @cryptofuture

@cryptofuture
Copy link
Collaborator

Thats fine, but maybe it worth to remove you need to be root message, and use sudo instead. We on Ubuntu after all, sudo is default.

@EggieCode
Copy link
Owner Author

Done!

@@ -25,8 +25,8 @@ case "$1" in
echo "new version, you will need to remove the old module and load the new one. As"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

echo "new version, you will need to remove the old module and load the new one."
echo "You can accomplish this with the following commands:"

configure)
# Check if the wireguard module is loaded else the install will fail.
if [ ! -f "/sys/module/wireguard/version" ]; then
echo "WARNING: kernel module is not loaded"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need this WARNING, since the kernel module is loaded ondemand.

However, you do need the exit 0 below, so keep that.

@EggieCode
Copy link
Owner Author

Tonight I will update to version 0.0.20170810 with this patch.

@EggieCode EggieCode merged commit ccefc3c into master Aug 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants