diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-09-19 22:33:30 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-09-19 22:33:30 +0000 |
commit | a4dccd8bed1783e7bf2f09bb382f26bb756fd931 (patch) | |
tree | 30d9430667ade98679808bf89b11137c5872fbd3 /bin | |
parent | cac63e3f3c271eb24d31d0c943378899f275733f (diff) | |
download | drakx-net-a4dccd8bed1783e7bf2f09bb382f26bb756fd931.tar drakx-net-a4dccd8bed1783e7bf2f09bb382f26bb756fd931.tar.gz drakx-net-a4dccd8bed1783e7bf2f09bb382f26bb756fd931.tar.bz2 drakx-net-a4dccd8bed1783e7bf2f09bb382f26bb756fd931.tar.xz drakx-net-a4dccd8bed1783e7bf2f09bb382f26bb756fd931.zip |
update connection status on dbus event
Diffstat (limited to 'bin')
-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); |