Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a message over the update of the module #24

Merged
merged 4 commits into from Aug 10, 2017

Conversation

Projects
None yet
3 participants
@EggieCode
Copy link
Owner

commented Aug 9, 2017

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

Ping: @zx2c4 , @cryptofuture

@EggieCode EggieCode requested a review from cryptofuture Aug 9, 2017

@cryptofuture

This comment has been minimized.

Copy link
Collaborator

commented Aug 9, 2017

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

This comment has been minimized.

Copy link
Owner Author

commented Aug 9, 2017

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"

This comment has been minimized.

Copy link
@cryptofuture

cryptofuture Aug 9, 2017

Collaborator

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"

This comment has been minimized.

Copy link
@zx2c4

zx2c4 Aug 9, 2017

Contributor

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

This comment has been minimized.

Copy link
Owner Author

commented Aug 10, 2017

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 join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.