From 21f57dc29e4026afece02bedb946f7f53a99f7f4 Mon Sep 17 00:00:00 2001 From: crieke Date: Wed, 15 Apr 2026 20:53:44 +0200 Subject: [PATCH] output without newline --- QPKG/shared/docker/scripts/get_hwsn.sh | 2 +- QPKG/shared/docker/scripts/getcfg.sh | 4 ++-- QPKG/shared/docker/scripts/getsysinfo.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/QPKG/shared/docker/scripts/get_hwsn.sh b/QPKG/shared/docker/scripts/get_hwsn.sh index 15a747d..0f07868 100755 --- a/QPKG/shared/docker/scripts/get_hwsn.sh +++ b/QPKG/shared/docker/scripts/get_hwsn.sh @@ -1,2 +1,2 @@ #!/bin/sh -echo $QNAP_SERIAL \ No newline at end of file +echo -n $QNAP_SERIAL \ No newline at end of file diff --git a/QPKG/shared/docker/scripts/getcfg.sh b/QPKG/shared/docker/scripts/getcfg.sh index b5b119c..81a0e41 100755 --- a/QPKG/shared/docker/scripts/getcfg.sh +++ b/QPKG/shared/docker/scripts/getcfg.sh @@ -1,7 +1,7 @@ #!/bin/sh case "$1" in - "RoonServer") echo $ROON_QNAP_MNT_DIR + "RoonServer") echo -n $ROON_QNAP_MNT_DIR ;; - "system") echo $QNAP_QTS_VER + "system") echo -n $QNAP_QTS_VER ;; esac diff --git a/QPKG/shared/docker/scripts/getsysinfo.sh b/QPKG/shared/docker/scripts/getsysinfo.sh index 846f78e..fb8fd23 100755 --- a/QPKG/shared/docker/scripts/getsysinfo.sh +++ b/QPKG/shared/docker/scripts/getsysinfo.sh @@ -1,2 +1,2 @@ #!/bin/sh -echo $QNAP_MODEL +echo -n $QNAP_MODEL