From 3e31439459236bfe6d4d7c446bdce4612c5a4883 Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Tue, 29 Sep 2009 14:03:38 +0000 Subject: clearing pending ifw notifications in net_applet (#48493). This can be done manually too, by sending -SIGUSR1 to net_applet. --- bin/net_applet | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin/net_applet') diff --git a/bin/net_applet b/bin/net_applet index a81b115..fef54eb 100755 --- a/bin/net_applet +++ b/bin/net_applet @@ -240,6 +240,10 @@ $SIG{HUP} = sub { print "received SIGHUP, reloading network configuration\n"; checkNetworkForce(); }; +$SIG{USR1} = sub { + # clear all ifw notifications + my @packets = eval { $network::net_applet::ifw->get_reports }; +}; Gtk2->main; -- cgit v1.2.1