summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-04-01 17:16:38 +0000
committertv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-04-01 17:16:38 +0000
commitce9c24ceaa7196752fc2b8fd12c3edf3f5d5072b (patch)
tree9f3d930be48fd73286b47c87f06fd87612252196
parent1648207fbaa25ecc186b8b7d8827005ae11aec68 (diff)
downloaddraksnapshot-ce9c24ceaa7196752fc2b8fd12c3edf3f5d5072b.tar
draksnapshot-ce9c24ceaa7196752fc2b8fd12c3edf3f5d5072b.tar.gz
draksnapshot-ce9c24ceaa7196752fc2b8fd12c3edf3f5d5072b.tar.bz2
draksnapshot-ce9c24ceaa7196752fc2b8fd12c3edf3f5d5072b.tar.xz
draksnapshot-ce9c24ceaa7196752fc2b8fd12c3edf3f5d5072b.zip
(isNetwork) kill dead code
git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@241695 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
-rwxr-xr-xdraksnapshot-applet8
1 files changed, 0 insertions, 8 deletions
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);