aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/linksys-wrt3g.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/scripts/linksys-wrt3g.php b/scripts/linksys-wrt3g.php
index eb056a9..219e081 100755
--- a/scripts/linksys-wrt3g.php
+++ b/scripts/linksys-wrt3g.php
@@ -89,16 +89,16 @@ $stCmd = $parser->addCommand(
)
);
$stCmd = $parser->addCommand(
- 'cardstatus',
+ 'card',
array(
- 'aliases' => array('c', 'cs'),
- 'description' => 'Show the card/SIM status'
+ 'aliases' => array('c'),
+ 'description' => 'Show the PC card/SIM status'
)
);
$stCmd = $parser->addCommand(
- 'allstatus',
+ 'all',
array(
- 'aliases' => array('a', 'as'),
+ 'aliases' => array('a'),
'description' => 'Show all status details'
)
);
@@ -143,13 +143,13 @@ try {
}
break;
- case 'allstatus':
- case 'cardstatus':
+ case 'all':
+ case 'card':
case 'status':
default:
- if ($result->command_name == 'allstatus') {
+ if ($result->command_name == 'all') {
$arStatus = $router->getFullStatus();
- } else if ($result->command_name == 'cardstatus') {
+ } else if ($result->command_name == 'card') {
$arStatus = $router->getCardStatus();
} else {
$arStatus = $router->getConnectionStatus();