show reboot result
[linksys-wrt3g-tools.git] / scripts / linksys-wrt3g.php
index 1d1b9d23e61bbb8177fa5f763953acda808ee16a..ef1870892a0b582b2d1c1296ce443999f9fadf73 100644 (file)
@@ -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':