git.cweiske.de
/
linksys-wrt3g-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
show reboot result
[linksys-wrt3g-tools.git]
/
scripts
/
linksys-wrt3g.php
diff --git
a/scripts/linksys-wrt3g.php
b/scripts/linksys-wrt3g.php
index 1d1b9d23e61bbb8177fa5f763953acda808ee16a..ef1870892a0b582b2d1c1296ce443999f9fadf73 100644
(file)
--- a/
scripts/linksys-wrt3g.php
+++ b/
scripts/linksys-wrt3g.php
@@
-90,7
+90,8
@@
try {
switch ($result->command_name) {
case 'reboot':
- $router->reboot();
+ $resp = $router->reboot();
+ echo $resp->getStatus() . ' ' . $resp->getReasonPhrase() . "\n";
break;
case 'status':