test
This commit is contained in:
parent
c7a2032b26
commit
fb7711fac5
18
DBRepair.sh
18
DBRepair.sh
@ -1689,6 +1689,24 @@ do
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
||||||
|
# Quit/Exit
|
||||||
|
98|hostinfo)
|
||||||
|
|
||||||
|
Output ""
|
||||||
|
Output "Status report: $(date)"
|
||||||
|
if IsRunning ; then
|
||||||
|
Output " PMS is running."
|
||||||
|
else
|
||||||
|
Output " PMS is stopped."
|
||||||
|
fi
|
||||||
|
|
||||||
|
[ $CheckedDB -eq 0 ] && Output " Databases are not checked, Status unknown."
|
||||||
|
[ $CheckedDB -eq 1 ] && [ $Damaged -eq 0 ] && Output " Databases are OK."
|
||||||
|
[ $CheckedDB -eq 1 ] && [ $Damaged -eq 1 ] && Output " Databases were checked and are damaged."
|
||||||
|
Output ""
|
||||||
|
;;
|
||||||
|
|
||||||
|
|
||||||
# Quit/Exit
|
# Quit/Exit
|
||||||
99|exit|quit)
|
99|exit|quit)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user