summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-07-18 10:07:51 +0200
committerArne Schwabe <arne@rfc2549.org>2012-07-18 10:07:51 +0200
commit16844bb64b871a31f5079117b39cc1c8c60d19f4 (patch)
treeb05111feb930c69d084a4c3076f24f1bd8d3aa90
parent30ce0de312d14d856ae1e7a7b527884fc9b504ae (diff)
- After installing Juno I need the core prefs for whatever reason
- use insmod instead of modprboe
-rw-r--r--.settings/org.eclipse.jdt.core.prefs11
-rw-r--r--src/de/blinkt/openvpn/LaunchVPN.java2
2 files changed, 12 insertions, 1 deletions
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");