Skip to content

Commit a03ad51

Browse files
committed
tunnel: remove kernel module downloader
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]>
1 parent 447b06e commit a03ad51

File tree

35 files changed

+122
-2938
lines changed

35 files changed

+122
-2938
lines changed

tunnel/src/main/java/com/wireguard/android/backend/WgQuickBackend.java

+4
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ public WgQuickBackend(final Context context, final RootShell rootShell, final To
5353
this.toolsInstaller = toolsInstaller;
5454
}
5555

56+
public static boolean hasKernelSupport() {
57+
return new File("/sys/module/wireguard").exists();
58+
}
59+
5660
@Override
5761
public Set<String> getRunningTunnelNames() {
5862
final List<String> output = new ArrayList<>();

tunnel/src/main/java/com/wireguard/android/util/ModuleLoader.java

-215
This file was deleted.

0 commit comments

Comments
 (0)