Skip to content

Commit

Permalink
feat: Add support for custom CLI command shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrho committed Dec 16, 2024
1 parent 2f59c7c commit 8bf8b18
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions jccm/src/Frontend/Layout/InventoryTreeMenuLocal.js
Original file line number Diff line number Diff line change
Expand Up @@ -976,6 +976,15 @@ const InventoryTreeMenuLocal = () => {
>
The network OS release might be outdated, but this needs confirmation.
</Text>
<Text
size={100}
weight='regular'
style={{
color: tokens.colorPaletteMarigoldForeground2,
}}
>
Please perform a network access test manually using commands such as telnet.
</Text>
</div>
),
}}
Expand Down
2 changes: 1 addition & 1 deletion jccm/src/Services/Device.js
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ export const getDeviceNetworkCondition = async (
networkCondition.access = false;
networkCondition.route = true;
} else if (rpcReply.includes('curl: not found')) {
networkCondition.message = `The network access test is unavailable because the 'curl' command is missing.`;
networkCondition.message = `The network access test to ${termServer}:${termPort} is unavailable because the 'curl' command is missing.`;
networkCondition.dns = true;
networkCondition.access = true;
networkCondition.route = true;
Expand Down

0 comments on commit 8bf8b18

Please sign in to comment.