summaryrefslogtreecommitdiffstats
path: root/bin/drakvpn
diff options
context:
space:
mode:
Diffstat (limited to 'bin/drakvpn')
-rw-r--r--bin/drakvpn17
1 files changed, 17 insertions, 0 deletions
diff --git a/bin/drakvpn b/bin/drakvpn
new file mode 100644
index 0000000..fbf10a6
--- /dev/null
+++ b/bin/drakvpn
@@ -0,0 +1,17 @@
+#!/usr/bin/perl
+
+# drakvpn: VPN configuration GUI
+# Olivier Blin, 2006 <oblin@mandriva.com>
+# Licensed under the GPL
+
+use strict;
+use lib qw(/usr/lib/libDrakX);
+
+# i18n: IMPORTANT: to get correct namespace (drakx-net instead of libDrakX)
+BEGIN { unshift @::textdomains, 'drakx-net' }
+use standalone;
+use interactive;
+use network::drakvpn;
+
+my $in = 'interactive'->vnew('su');
+network::drakvpn::create_connection($in);