Update linupx-scripts.sh
This commit is contained in:
@@ -334,8 +334,13 @@ FW_INSTALL() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
SCRIPT_MENU() {
|
SCRIPT_MENU() {
|
||||||
LASTRUND=$(stat -c %y ${FOLDER}/lastrun | cut -d ' ' -f1)
|
if [ -f ${FOLDER}/lastrun ]; then
|
||||||
LASTRUNT=$((stat -c %y ${FOLDER}/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)
|
||||||
|
else
|
||||||
|
LASTRUND='never'
|
||||||
|
LASTRUNT=''
|
||||||
|
fi
|
||||||
while :
|
while :
|
||||||
do
|
do
|
||||||
#clear
|
#clear
|
||||||
|
|||||||
Reference in New Issue
Block a user