Update linupx-scripts.sh

This commit is contained in:
2019-01-30 16:03:13 -06:00
parent e7f8486f53
commit c8b33ba92c

View File

@@ -334,8 +334,13 @@ FW_INSTALL() {
}
SCRIPT_MENU() {
LASTRUND=$(stat -c %y ${FOLDER}/lastrun | cut -d ' ' -f1)
LASTRUNT=$((stat -c %y ${FOLDER}/lastrun | cut -d ' ' -f2) | cut -d '.' -f1)
if [ -f ${FOLDER}/lastrun ]; then
LASTRUND=$(stat -c %y ${FOLDER}/lastrun | cut -d ' ' -f1)
LASTRUNT=$((stat -c %y ${FOLDER}/lastrun | cut -d ' ' -f2) | cut -d '.' -f1)
else
LASTRUND='never'
LASTRUNT=''
fi
while :
do
#clear