From 16844bb64b871a31f5079117b39cc1c8c60d19f4 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Wed, 18 Jul 2012 10:07:51 +0200 Subject: - After installing Juno I need the core prefs for whatever reason - use insmod instead of modprboe --- .settings/org.eclipse.jdt.core.prefs | 11 +++++++++++ src/de/blinkt/openvpn/LaunchVPN.java | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .settings/org.eclipse.jdt.core.prefs diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..8000cd6c --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,11 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/src/de/blinkt/openvpn/LaunchVPN.java b/src/de/blinkt/openvpn/LaunchVPN.java index 32f8bcf5..a3fb0829 100644 --- a/src/de/blinkt/openvpn/LaunchVPN.java +++ b/src/de/blinkt/openvpn/LaunchVPN.java @@ -353,7 +353,7 @@ public class LaunchVPN extends ListActivity implements OnItemClickListener { boolean loadTunModule = prefs.getBoolean("loadTunModule", false); if(loadTunModule) - execeuteSUcmd("modprobe tun"); + execeuteSUcmd("insmod /system/lib/modules/tun.ko"); if(usecm9fix && !mCmfixed ) { execeuteSUcmd("chown system /dev/tun"); -- cgit v1.2.3