diff options
author | Nicolas Lécureuil <nlecureuil@mandriva.com> | 2011-08-30 13:16:42 +0000 |
---|---|---|
committer | Nicolas Lécureuil <nlecureuil@mandriva.com> | 2011-08-30 13:16:42 +0000 |
commit | c590a4a7c162d1a81dbf02ca2e174384af0385bb (patch) | |
tree | 7e1279550b8e48add99b7b41281d27d249d279f3 /bin/drakvpn | |
parent | 39d2ee13572a6dc634c0c454dfc43e0297483279 (diff) | |
download | drakx-net-c590a4a7c162d1a81dbf02ca2e174384af0385bb.tar drakx-net-c590a4a7c162d1a81dbf02ca2e174384af0385bb.tar.gz drakx-net-c590a4a7c162d1a81dbf02ca2e174384af0385bb.tar.bz2 drakx-net-c590a4a7c162d1a81dbf02ca2e174384af0385bb.tar.xz drakx-net-c590a4a7c162d1a81dbf02ca2e174384af0385bb.zip |
Create 2010.1 branch for drakx-net
Diffstat (limited to 'bin/drakvpn')
-rw-r--r-- | bin/drakvpn | 17 |
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); |