From 411b5b9584a77c2e015b5bee8dd80405a98bf033 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sat, 22 Jun 2024 15:37:16 +0200 Subject: [PATCH] tree: fix script exit Signed-off-by: AuxXxilium --- cpufreqscaling/all/usr/sbin/rescaler.sh | 2 ++ cpufreqscaling/all/usr/sbin/scaler.sh | 4 +++- cpufreqscaling/all/usr/sbin/unscaler.sh | 4 +++- sanmanager-repair/all/usr/sbin/sanrepair.sh | 4 +++- updatenotify/all/usr/bin/updatenotify.sh | 1 - 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/cpufreqscaling/all/usr/sbin/rescaler.sh b/cpufreqscaling/all/usr/sbin/rescaler.sh index 55748b5..c8043e0 100755 --- a/cpufreqscaling/all/usr/sbin/rescaler.sh +++ b/cpufreqscaling/all/usr/sbin/rescaler.sh @@ -27,3 +27,5 @@ else echo "No cpufreq_${1} module found" exit 1 fi + +exit 0 \ No newline at end of file diff --git a/cpufreqscaling/all/usr/sbin/scaler.sh b/cpufreqscaling/all/usr/sbin/scaler.sh index 48b36a4..aefb8b3 100755 --- a/cpufreqscaling/all/usr/sbin/scaler.sh +++ b/cpufreqscaling/all/usr/sbin/scaler.sh @@ -116,4 +116,6 @@ while true; do main fi sleep 0.5 -done \ No newline at end of file +done + +exit 0 \ No newline at end of file diff --git a/cpufreqscaling/all/usr/sbin/unscaler.sh b/cpufreqscaling/all/usr/sbin/unscaler.sh index 5bfd5b3..8e92d64 100755 --- a/cpufreqscaling/all/usr/sbin/unscaler.sh +++ b/cpufreqscaling/all/usr/sbin/unscaler.sh @@ -18,4 +18,6 @@ if [ "$governor" != "performance" ]; then done fi -touch /usr/sbin/stopscale \ No newline at end of file +touch /usr/sbin/stopscale + +exit 0 \ No newline at end of file diff --git a/sanmanager-repair/all/usr/sbin/sanrepair.sh b/sanmanager-repair/all/usr/sbin/sanrepair.sh index c0811cd..ec15419 100755 --- a/sanmanager-repair/all/usr/sbin/sanrepair.sh +++ b/sanmanager-repair/all/usr/sbin/sanrepair.sh @@ -22,4 +22,6 @@ fi if [ -d /config/target ]; then mkdir /config/target/iscsi mkdir /config/target/loopback -fi \ No newline at end of file +fi + +exit 0 \ No newline at end of file diff --git a/updatenotify/all/usr/bin/updatenotify.sh b/updatenotify/all/usr/bin/updatenotify.sh index 54c471e..8920a7d 100755 --- a/updatenotify/all/usr/bin/updatenotify.sh +++ b/updatenotify/all/usr/bin/updatenotify.sh @@ -35,5 +35,4 @@ SUBJECT="$(curl -skL --connect-timeout 10 "${URL}/releases/tag/${TAG}" | pup 'di SUBJECT="${SUBJECT//\"/\\\\\\\"}" synodsmnotify -e false -b false "@administrators" "arc_notify_subject" "{\"%NOTIFICATION%\": \"${NOTIFICATION}\", \"%SUBJECT%\": \"${SUBJECT}\"}" - exit 0 \ No newline at end of file