summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2011-03-06 09:52:11 +0000
committerDexter Morgan <dmorgan@mageia.org>2011-03-06 09:52:11 +0000
commit6143d5f530ca6974e7715dfa1b55a55be129057c (patch)
tree86d4b0be10923d451a5fd87d29fcd45fa228fcee /lib
parent575883683faf70db45aac308a07c770b13ee2d79 (diff)
downloaddrakx-net-6143d5f530ca6974e7715dfa1b55a55be129057c.tar
drakx-net-6143d5f530ca6974e7715dfa1b55a55be129057c.tar.gz
drakx-net-6143d5f530ca6974e7715dfa1b55a55be129057c.tar.bz2
drakx-net-6143d5f530ca6974e7715dfa1b55a55be129057c.tar.xz
drakx-net-6143d5f530ca6974e7715dfa1b55a55be129057c.zip
Add empty files to be filled for desktop-common-data
Diffstat (limited to 'lib')
-rw-r--r--lib/network/connection_manager.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index 3efb2c1..012ef84 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -241,6 +241,8 @@ sub stop_connection {
sub monitor_connection {
my ($cmanager) = @_;
+ # We need to check if net_monitor is installed or not.
+ $in->do_pkgs->ensure_is_installed('net_monitor', '/usr/bin/net_monitor') or return 1;
my $interface = $cmanager->{connection} && $cmanager->{connection}->get_interface or return;
run_program::raw({ detach => 1 }, '/usr/bin/net_monitor', '--defaultintf', $interface);
}