From ce9c24ceaa7196752fc2b8fd12c3edf3f5d5072b Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 1 Apr 2008 17:16:38 +0000 Subject: (isNetwork) kill dead code git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@241695 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94 --- draksnapshot-applet | 8 -------- 1 file changed, 8 deletions(-) (limited to 'draksnapshot-applet') diff --git a/draksnapshot-applet b/draksnapshot-applet index 0193ab1..3f884b5 100755 --- a/draksnapshot-applet +++ b/draksnapshot-applet @@ -177,14 +177,6 @@ sub go2State { $menu = setState($state); } -sub isNetwork() { - require network::network; - require network::tools; - my $net = {}; - network::network::read_net_conf($net); - my ($_gw_intf, $_is_up, $gw_address, $_dns_server) = network::tools::get_internet_connection($net); - to_bool($gw_address); -} sub shouldStart() { my %p = getVarsFromSh($localfile); -- cgit v1.2.1