summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMohamed Abbas <mabbas@linux.intel.com>2011-01-27 09:49:46 (GMT)
committerSamuel Ortiz <sameo@linux.intel.com>2011-01-27 09:49:46 (GMT)
commit5b1ff66fe2922078a130f4ac21dfb701dcfe30e7 (patch)
tree5305f008d67a26d0e91cf82801ab7148f4c772b2 /scripts
parent62b38c07d8933a26973ca38323c1260aaeb49ef9 (diff)
downloadconnman-5b1ff66fe2922078a130f4ac21dfb701dcfe30e7.zip
connman-5b1ff66fe2922078a130f4ac21dfb701dcfe30e7.tar.gz
connman-5b1ff66fe2922078a130f4ac21dfb701dcfe30e7.tar.bz2
plugins: Initial vpnc support
Diffstat (limited to 'scripts')
-rw-r--r--scripts/openconnect-script.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/openconnect-script.c b/scripts/openconnect-script.c
index 565bda7..509fc95 100644
--- a/scripts/openconnect-script.c
+++ b/scripts/openconnect-script.c
@@ -79,6 +79,10 @@ int main(int argc, char *argv[])
fprintf(stderr, "Required environment variables not set\n");
return 1;
}
+
+ if (strcmp(reason, "pre-init") == 0)
+ return 0;
+
dbus_error_init(&error);
conn = dbus_bus_get(DBUS_BUS_SYSTEM, &error);