From 987ec779d35ef33106d8db9b19d6cab60cd3e968 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Thu, 20 Jul 2023 14:30:39 +0200 Subject: [PATCH] klinfix: add new commands uptime, version, and netcalc Preparing for a "show system-information" as well, which still needs to be discussed to determine contents. Some data also still missing, e.g., article/serial/product number db. Signed-off-by: Joachim Wiberg --- src/klinfix/xml/infix.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/klinfix/xml/infix.xml b/src/klinfix/xml/infix.xml index 279ce3f7..26975144 100644 --- a/src/klinfix/xml/infix.xml +++ b/src/klinfix/xml/infix.xml @@ -267,6 +267,18 @@ + + uptime + + + + uptime + + cat /cfg/factory-config.cfg | jq . @@ -290,6 +302,12 @@ + + + + netcalc $KLISH_PARAM_addrlen $KLISH_PARAM_netmask + +