summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/net_applet2
-rw-r--r--lib/network/connection_manager.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/net_applet b/bin/net_applet
index 8787c76..5c9d640 100755
--- a/bin/net_applet
+++ b/bin/net_applet
@@ -280,7 +280,7 @@ sub shouldStart() {
return getAutoStart();
}
sub run_net_monitor() {
- run_program::raw({ detach => 1 }, '/usr/sbin/net_monitor', '--defaultintf', $current_interface) unless is_running('net_monitor');
+ run_program::raw({ detach => 1 }, '/usr/bin/net_monitor', '--defaultintf', $current_interface) unless is_running('net_monitor');
}
sub run_netcenter() {
run_program::raw({ detach => 1 }, '/usr/bin/draknetcenter') unless is_running('draknetcenter', 'root');
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index 4f30db0..33ca700 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -242,7 +242,7 @@ sub stop_connection {
sub monitor_connection {
my ($cmanager) = @_;
my $interface = $cmanager->{connection} && $cmanager->{connection}->get_interface or return;
- run_program::raw({ detach => 1 }, '/usr/sbin/net_monitor', '--defaultintf', $interface);
+ run_program::raw({ detach => 1 }, '/usr/bin/net_monitor', '--defaultintf', $interface);
}
sub toggle_would_disconnect {