This commit is contained in:
deathbybandaid 2023-03-14 10:09:24 -04:00
parent fb7711fac5
commit 4237c80979

View File

@ -1692,18 +1692,11 @@ 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 ""
if ! HostConfig; then
Output 'Error: Unknown host. Current supported hosts are: QNAP, Syno, Netgear, Mac, ASUSTOR, WD (OS5), Linux wkstn/svr'
Output ' Current supported container images: Plexinc, LinuxServer, HotIO, & BINHEX'
exit 1
fi
;;