diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2010-12-28 23:07:23 +0100 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2010-12-28 23:07:23 +0100 |
| commit | 9670ba7c1328b028800895eba2151f1b29f6a077 (patch) | |
| tree | b46765c44bd52c79a8f84004c08493ab563d14fe /scripts/reboot.php | |
| parent | b148da6e40e33dcffd322a299b2e30170af12869 (diff) | |
| download | linksys-wrt3g-tools-9670ba7c1328b028800895eba2151f1b29f6a077.tar.gz linksys-wrt3g-tools-9670ba7c1328b028800895eba2151f1b29f6a077.zip | |
remove old scripts
Diffstat (limited to 'scripts/reboot.php')
| -rw-r--r-- | scripts/reboot.php | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/scripts/reboot.php b/scripts/reboot.php deleted file mode 100644 index 53b8b96..0000000 --- a/scripts/reboot.php +++ /dev/null @@ -1,24 +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"; - exit(1); -} -?>
\ No newline at end of file |
