From 6c968027943969c775eeafc0746dfc380988af9b Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Fri, 10 Dec 2010 18:32:00 +0100 Subject: [PATCH] show reboot result --- scripts/linksys-wrt3g.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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': -- 2.30.2