Skip to content

Commit

Permalink
tunnel: remove kernel module downloader
Browse files Browse the repository at this point in the history
Nathan Chance dropped the ball repeatedly and never maintained this in a
consistent way that anybody could use. With Android 12 out now, just
drop it all together. A bummer, but I don't see much of a choice.

Signed-off-by: Jason A. Donenfeld <[email protected]>
  • Loading branch information
zx2c4 committed Oct 29, 2021
1 parent 447b06e commit cf58eae
Show file tree
Hide file tree
Showing 36 changed files with 123 additions and 2,938 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ public WgQuickBackend(final Context context, final RootShell rootShell, final To
this.toolsInstaller = toolsInstaller;
}

public static boolean hasKernelSupport() {
return new File("/sys/module/wireguard").exists();
}

@Override
public Set<String> getRunningTunnelNames() {
final List<String> output = new ArrayList<>();
Expand Down
215 changes: 0 additions & 215 deletions tunnel/src/main/java/com/wireguard/android/util/ModuleLoader.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,5 @@ private boolean willInstallAsMagiskModule() {
return installAsMagiskModule;
}
}

}
Loading

0 comments on commit cf58eae

Please sign in to comment.