summaryrefslogtreecommitdiffstats
path: root/bin/drakvpn
blob: fbf10a606996e610c466072289530ed8db5703d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);