summaryrefslogtreecommitdiffstats
path: root/bin/draknetcenter
diff options
context:
space:
mode:
Diffstat (limited to 'bin/draknetcenter')
-rwxr-xr-xbin/draknetcenter4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/draknetcenter b/bin/draknetcenter
index 7da798c..b508da5 100755
--- a/bin/draknetcenter
+++ b/bin/draknetcenter
@@ -16,5 +16,7 @@ use network::netcenter;
my $in = 'interactive'->vnew('su');
my $net = {};
network::network::read_net_conf($net);
+my $dbus;
+eval { $dbus = dbus_object::system_bus() };
-network::netcenter::main($in, $net);
+network::netcenter::main($in, $net, $dbus);