#!/bin/bash # Make the face start whenever the robot is powered. Run as root from this directory. Re-runnable. set -euo pipefail cd "$(dirname "$0")" install -m 644 robot-cpu-performance.service /etc/systemd/system/ install -m 644 robot-face.service /etc/systemd/system/ systemctl daemon-reload systemctl enable --now robot-cpu-performance.service systemctl enable robot-face.service systemctl restart robot-face.service sleep 8 systemctl --no-pager --lines=4 status robot-face.service