diff options
Diffstat (limited to 'reboot.php')
| -rw-r--r-- | reboot.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/reboot.php b/reboot.php deleted file mode 100644 index a7be1be..0000000 --- a/reboot.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php -/** -* Reboots the router -* -* 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(); - $resp = $w->reboot(); - echo $resp->getStatus() . ' ' . $resp->getReasonPhrase() . "\n"; -} catch (Exception $e) { - echo 'Error: ' . $e->getMessage() . "\n"; -} -?>
\ No newline at end of file |
