From b9203b5ce19e80d39d5aba90c43475d4bef0a8ba Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Fri, 4 Nov 2022 13:15:40 -0400 Subject: [PATCH] Simplify startup process, remove autoStart setting --- root/etc/services.d/extended_audio/run | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/root/etc/services.d/extended_audio/run b/root/etc/services.d/extended_audio/run index 49700ad..d323e2e 100644 --- a/root/etc/services.d/extended_audio/run +++ b/root/etc/services.d/extended_audio/run @@ -1,10 +1,11 @@ #!/usr/bin/with-contenv bash -if [ "$autoStart" = "true" ] && [ "$enableAudioScript" = "true" ]; then - echo "Automatic Start Enabled, starting in 2 min..." +if [ "$enableAudioScript" = "true" ]; then + echo "Starting Audio.sh in 2 min..." sleep 2m bash /config/extended/scripts/Audio.sh else - echo "Automatic Start Disabled, manually run using this command:" + echo "Automatic Start Disabled, to enable set enableAudioScript=true" + echo "Manually run using this command:" echo "bash /config/extended/scripts/Audio.sh" sleep infinity fi