summaryrefslogtreecommitdiffstats
path: root/bin/drakvpn
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2011-06-02 20:51:02 +0000
committerDexter Morgan <dmorgan@mageia.org>2011-06-02 20:51:02 +0000
commit03f527a208b2ef57ef9765aff554f9a03fb3036c (patch)
treec01b3724b3f66f30d866ba283b7ca484c604802a /bin/drakvpn
downloaddrakx-net-03f527a208b2ef57ef9765aff554f9a03fb3036c.tar
drakx-net-03f527a208b2ef57ef9765aff554f9a03fb3036c.tar.gz
drakx-net-03f527a208b2ef57ef9765aff554f9a03fb3036c.tar.bz2
drakx-net-03f527a208b2ef57ef9765aff554f9a03fb3036c.tar.xz
drakx-net-03f527a208b2ef57ef9765aff554f9a03fb3036c.zip
Branch for updates
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);