diff --git a/linupx-scripts.sh b/linupx-scripts.sh index 0b07633..bff162f 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -2,7 +2,7 @@ # LinUPx - Linux Update Scripts action="$1" -FOLDER='/opt/idssys/LinUPx' +FOLDER='/opt/idssys/linupx' VERS='4.01282019' if [ -d /opt/idssys/LinUPx ]; then @@ -334,8 +334,8 @@ FW_INSTALL() { } SCRIPT_MENU() { - LASTRUND=$(stat -c %y /opt/LinUPx/lastrun | cut -d ' ' -f1) - LASTRUNT=$((stat -c %y /opt/LinUPx/lastrun | cut -d ' ' -f2) | cut -d '.' -f1) + LASTRUND=$(stat -c %y ${FOLDER}/lastrun | cut -d ' ' -f1) + LASTRUNT=$((stat -c %y ${FOLDER}/lastrun | cut -d ' ' -f2) | cut -d '.' -f1) while : do #clear