diff options
Diffstat (limited to 'bin/draknetcenter')
-rwxr-xr-x | bin/draknetcenter | 4 |
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); |