This commit is contained in:
2024-06-30 20:57:27 -04:00
parent 895f422735
commit b825d30ba1

View File

@@ -242,15 +242,17 @@ EOF
# Help links
cat <<- 'EOF' >> "$script"
echo "\
Cockpit (graphical admin): http://localhost:9090
Robot webcam: http://localhost:8888
Robot computer: vnc://192.168.16.101:5900
Manual: https://docs.google.com/document/d/1K_KwAlv8Zljmy-enwmhT6gMTFutlAFglixvpLGBx0VY"
links (ctrl+click to follow):
cockpit (administrators): http://localhost:9090
robot cam...............: http://localhost:8888
robot computer..........: vnc://192.168.16.101:5900
manual..................: https://docs.google.com/document/d/1K_KwAlv8Zljmy-enwmhT6gMTFutlAFglixvpLGBx0VY"
EOF
# Scheduled reboot
cat <<- "EOF" >> "$script"
if systemctl is-active scheduled-reboot.timer; then
if systemctl is-active scheduled-reboot.timer &>/dev/null; then
echo -n "Next scheduled reboot: "
time=$(systemctl cat scheduled-reboot.timer | grep OnCalendar=)
time=${time#*=}