Update linupx-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user