Fix motd
This commit is contained in:
@@ -242,15 +242,17 @@ EOF
|
|||||||
# Help links
|
# Help links
|
||||||
cat <<- 'EOF' >> "$script"
|
cat <<- 'EOF' >> "$script"
|
||||||
echo "\
|
echo "\
|
||||||
Cockpit (graphical admin): http://localhost:9090
|
|
||||||
Robot webcam: http://localhost:8888
|
links (ctrl+click to follow):
|
||||||
Robot computer: vnc://192.168.16.101:5900
|
cockpit (administrators): http://localhost:9090
|
||||||
Manual: https://docs.google.com/document/d/1K_KwAlv8Zljmy-enwmhT6gMTFutlAFglixvpLGBx0VY"
|
robot cam...............: http://localhost:8888
|
||||||
|
robot computer..........: vnc://192.168.16.101:5900
|
||||||
|
manual..................: https://docs.google.com/document/d/1K_KwAlv8Zljmy-enwmhT6gMTFutlAFglixvpLGBx0VY"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Scheduled reboot
|
# Scheduled reboot
|
||||||
cat <<- "EOF" >> "$script"
|
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: "
|
echo -n "Next scheduled reboot: "
|
||||||
time=$(systemctl cat scheduled-reboot.timer | grep OnCalendar=)
|
time=$(systemctl cat scheduled-reboot.timer | grep OnCalendar=)
|
||||||
time=${time#*=}
|
time=${time#*=}
|
||||||
|
|||||||
Reference in New Issue
Block a user