summaryrefslogtreecommitdiffstats
path: root/bin/draknetcenter
blob: 738e61ec6c1f182452003f48af05b57866b044d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/perl
# Olivier Blin, 2007 <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 network::network;
use network::netcenter;

my $in = 'interactive'->vnew;
my $net = {};
network::network::read_net_conf($net);

network::netcenter::main($in, $net);