From 343e535f5fab0d052b08e4d79663f1be3aaa0437 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Thu, 28 May 2020 10:54:57 -0500 Subject: [PATCH] Variables, duh --- gravity-sync.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index dded9fc..cd50859 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -616,16 +616,16 @@ function task_automate { echo -en "${NEED} ${MESSAGE}" read INPUT_AUTO_FREQ - if [ INPUT_AUTO_FREQ == 1 ] + if [ $INPUT_AUTO_FREQ == 1 ] then AUTO_FREQ='60' - elif [ INPUT_AUTO_FREQ == 2 ] + elif [ $INPUT_AUTO_FREQ == 2 ] AUTO_FREQ='30' - elif [ INPUT_AUTO_FREQ == 4 ] + elif [ $INPUT_AUTO_FREQ == 4 ] AUTO_FREQ='15' - elif [ INPUT_AUTO_FREQ == 6 ] + elif [ $INPUT_AUTO_FREQ == 6 ] AUTO_FREQ='10' - elif [ INPUT_AUTO_FREQ == 12 ] + elif [ $INPUT_AUTO_FREQ == 12 ] AUTO_FREQ='5' else MESSAGE="Invalid Input"