summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/draknetcenter8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/draknetcenter b/bin/draknetcenter
index fcd04e2..738e61e 100755
--- a/bin/draknetcenter
+++ b/bin/draknetcenter
@@ -10,5 +10,11 @@ use lib qw(/usr/lib/libDrakX);
BEGIN { unshift @::textdomains, 'drakx-net' }
use standalone;
+use network::network;
use network::netcenter;
-network::netcenter::main();
+
+my $in = 'interactive'->vnew;
+my $net = {};
+network::network::read_net_conf($net);
+
+network::netcenter::main($in, $net);