ui betterment

This commit is contained in:
legop3
2026-11-17 13:08:11 -05:00
parent 7413b134ad
commit b62d5a5fc6
5 changed files with 105 additions and 41 deletions
+1
View File
@@ -11,6 +11,7 @@ if [[ ! -e /opt/roverd ]]; then
git clone https://github.com/legop3/MultiRoombaRover.git /opt/roverd
fi
[[ -d /opt/roverd/.git ]] || { echo '/opt/roverd must be a repository checkout' >&2; exit 1; }
git -C /opt/roverd pull --ff-only
export ROVERD_INITIAL_NAME="$rover_name" ROVERD_INITIAL_SERVER="$server_address"
bash /opt/roverd/rover/install_roverd.sh
systemctl restart roverd
+2
View File
@@ -45,6 +45,8 @@ install -D -o root -g root -m 0755 rover/bin/roverd-self-update.sh /usr/local/sb
# Keep the running updater on its original inode until it exits.
mv -f /usr/local/sbin/roverd-self-update.new /usr/local/sbin/roverd-self-update
echo "Registered update checkout at $REPO_ROOT"
# Refuse to report a successful installation with an unusable saved config.
/usr/local/bin/roverd -config /etc/roverd.json -check-config
systemctl daemon-reload
systemctl enable roverd.service
echo 'Installation complete; caller can now restart roverd.'