From dd4221802f13917dc68ffec0a879b0ee88b3c051 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Thu, 14 Aug 2025 07:31:41 +0200 Subject: [PATCH] utils: silence srload (debug messages) Signed-off-by: Joachim Wiberg --- utils/srload | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/srload b/utils/srload index 65d9a14a..11bcbae4 100755 --- a/utils/srload +++ b/utils/srload @@ -84,7 +84,7 @@ enable() { local module=$1 local feature=$2 - echo "*** Enable feature $feature in $module." + #echo "*** Enable feature $feature in $module." $SYSREPOCTL -c $module -e $feature -v2 local rc=$? if [ $rc -ne 0 ]; then @@ -119,7 +119,7 @@ for module in "${MODULES[@]}"; do if [ -z "$SCTL_MODULE" ]; then # prepare command to install module with all its features - echo "*** Installing YANG model $name ..." + #echo "*** Installing YANG model $name ..." install "$module" continue fi @@ -164,7 +164,7 @@ done # install all the new modules if [ -n "${CMD_INSTALL}" ]; then - printf "*** Installing YANG models ...\n%s" "$CMD_INSTALL" + printf "*** Installing YANG models from %s ...\n%s" "$(basename "$1")" "$CMD_INSTALL" eval $CMD_INSTALL rc=$? if [ $rc -ne 0 ]; then