From 3afe5b4aaa3564c4506bad6b45c396372d4a1a9a Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sat, 7 Dec 2024 17:00:21 +0100 Subject: Add cap and version command replies --- minimunin | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/minimunin b/minimunin index 4332722..2c49829 100755 --- a/minimunin +++ b/minimunin @@ -30,6 +30,9 @@ main() { # printf "%s %s\n" "$command" "$arg" >> /var/log/minimunin.log # dispatch commands case ${command} in + cap) + printf "cap\n" + ;; list) printf "%s " "${BUILTIN}" ${PLUGINS}; printf '\n' ;; @@ -42,6 +45,9 @@ main() { quit) exit 0 ;; + version) + printf "version minimunin-0.6\n" + ;; *) printf "# Unknown command %s.\n" "${command}" # printf %s ${command} | hexdump -C >> /var/log/minimunin.log -- cgit v1.2.3