From 4c4cdd76caea5a8be4a971892375c7c6b4f4a8b9 Mon Sep 17 00:00:00 2001 From: wimpie Date: Tue, 11 Jan 2005 15:35:46 +0000 Subject: vpn should now work IF only the vpn plugin would do something. shortened logical interface names (busybox only supports 10 characters and then ONLY if you recompile it with mappings enabled) Other small fixes --- (limited to 'noncore/settings/networksettings2/profile/profile_NNI.cpp') diff --git a/noncore/settings/networksettings2/profile/profile_NNI.cpp b/noncore/settings/networksettings2/profile/profile_NNI.cpp index a1e1254..fc2d809 100644 --- a/noncore/settings/networksettings2/profile/profile_NNI.cpp +++ b/noncore/settings/networksettings2/profile/profile_NNI.cpp @@ -1,3 +1,4 @@ +#include #include #include "profileedit.h" #include "profile_NNI.h" @@ -62,7 +63,11 @@ short AProfile::generateFileEmbedded( SystemFile & SF, Log(("Generate Profile for %s\n", SF.name().latin1() )); if( Data.TriggerVPN ) { // this profile triggers VPN -> insert trigger - SF << " up networksettings2 --triggervpn" + SF << " up " + << QPEApplication::qpeDir() + << "bin/networksettings2 --triggervpn " + << runtime()->device()->netNode()->nodeClass()->genNic( DevNr ) + << " || true" << endl; rvl = 0; } -- cgit v0.9.0.2