summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/net_applet3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/net_applet b/bin/net_applet
index 2301528..73175e3 100755
--- a/bin/net_applet
+++ b/bin/net_applet
@@ -24,6 +24,7 @@ use Gtk2::Notify -init, 'notify';
use ugtk2 qw(:create :helpers :wrappers :dialogs);
my $onstartupfile = "$ENV{HOME}/.net_applet";
+my $system_file = '/etc/sysconfig/net_applet';
shouldStart() or die "$onstartupfile should be set to TRUE or use net_applet --force\n";
#- Allow multiple instances, but only one per user:
@@ -49,6 +50,8 @@ my %pixbufs =
);
my %wireless_networks;
+my %global_settings = getVarsFromSh($system_file);
+
sub get_state_message {
my ($o_interface) = @_;
my $interface = $o_interface || $current_interface;