From: Christian Weiske Date: Fri, 10 Dec 2010 17:32:00 +0000 (+0100) Subject: show reboot result X-Git-Tag: 1.0.0~61 X-Git-Url: https://git.cweiske.de/linksys-wrt3g-tools.git/commitdiff_plain/6c968027943969c775eeafc0746dfc380988af9b?ds=inline show reboot result --- 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':