Fix motd
This commit is contained in:
@@ -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#*=}
|
||||
|
||||
Reference in New Issue
Block a user