From 67146b24a64ddd56258fe4560275ce4bd4ef5b75 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 30 Apr 2008 18:42:00 +0000 Subject: allow to disable D-Bus usage by setting DBUS=no in /etc/sysconfig/net_applet (saves about 5200 kB of RSS memory) this disables Interactive Firewall and switching wireless network in the background without being root --- bin/net_applet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/net_applet b/bin/net_applet index 73175e3..defa97c 100755 --- a/bin/net_applet +++ b/bin/net_applet @@ -141,7 +141,7 @@ my %actions = ( my $icon = Gtk2::StatusIcon->new; my ($dbus, $monitor, $ifw, $interactive_cb, $ifw_alert); -eval { $dbus = dbus_object::system_bus() }; +eval { $dbus = dbus_object::system_bus() } if !defined($global_settings{DBUS}) || text2bool($global_settings{DBUS}); eval { $monitor = network::monitor->new($dbus) } if $dbus; eval { $ifw = network::ifw->new($dbus, sub { -- cgit v1.2.1