diff options
author | Mohamed Abbas <mabbas@linux.intel.com> | 2011-01-27 10:49:46 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-01-27 10:49:46 +0100 |
commit | 5b1ff66fe2922078a130f4ac21dfb701dcfe30e7 (patch) | |
tree | 5305f008d67a26d0e91cf82801ab7148f4c772b2 /scripts | |
parent | 62b38c07d8933a26973ca38323c1260aaeb49ef9 (diff) | |
download | connman-5b1ff66fe2922078a130f4ac21dfb701dcfe30e7.tar.gz connman-5b1ff66fe2922078a130f4ac21dfb701dcfe30e7.tar.bz2 connman-5b1ff66fe2922078a130f4ac21dfb701dcfe30e7.zip |
plugins: Initial vpnc support
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/openconnect-script.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/openconnect-script.c b/scripts/openconnect-script.c index 565bda74..509fc958 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); |