From cb24e6328ed7070ac4e67df2c1f555475c7a4047 Mon Sep 17 00:00:00 2001 From: tb14 Date: Tue, 1 Jul 2025 19:44:55 -0500 Subject: [PATCH] added if statement for cleanup function --- AmRRON-Setup-Script.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AmRRON-Setup-Script.sh b/AmRRON-Setup-Script.sh index ea7ae29..73464b6 100755 --- a/AmRRON-Setup-Script.sh +++ b/AmRRON-Setup-Script.sh @@ -4372,6 +4372,8 @@ ${r} ${c} function final_cleanup() { +if [[ -f /tmp/cleanup ]]; then + while read cleanup do case $cleanup in @@ -4710,6 +4712,8 @@ fi esac done