X-Git-Url: https://git.cweiske.de/linksys-wrt3g-tools.git/blobdiff_plain/0b326c29602851bfc839e395d86cc84a86f67c89..6c968027943969c775eeafc0746dfc380988af9b:/scripts/linksys-wrt3g.php diff --git a/scripts/linksys-wrt3g.php b/scripts/linksys-wrt3g.php index 1d1b9d2..ef18708 100644 --- 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':