aboutsummaryrefslogtreecommitdiff
path: root/scripts/status.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/status.php')
-rw-r--r--scripts/status.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/scripts/status.php b/scripts/status.php
deleted file mode 100644
index b75a508..0000000
--- a/scripts/status.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-/**
-* Shows router UMTS status
-*
-* PHP version 5
-*
-* @category Tools
-* @package linksys-wrt3g-tools
-* @author Christian Weiske <cweiske@cweiske.de>
-* @license AGPL v3
-* @link http://cweiske.de/linksys-wrt3g-tools.htm
-*/
-require_once dirname(__FILE__) . '/../config.php';
-require_once 'Wrt3g.php';
-try {
- $w = new Wrt3g();
- $arStatus = $w->getStatus();
- foreach ($arStatus as $key => $value) {
- echo $key . ': ' . $value . "\n";
- }
-} catch (Exception $e) {
- echo 'Error: ' . $e->getMessage() . "\n";
- exit(1);
-}
-?> \ No newline at end of file