Add rpi-rw/rpi-ro to update.sh

main
Ryan Collier 2 weeks ago
parent b6898a58e7
commit e851abe9d1

@ -12,6 +12,10 @@ echo "================================================"
echo " D-Star Site Updater" echo " D-Star Site Updater"
echo "================================================" echo "================================================"
# Make filesystem writable
echo "Making filesystem read-write..."
rpi-rw
# Pull latest repo # Pull latest repo
echo "Pulling latest from Gitea..." echo "Pulling latest from Gitea..."
cd "$REPO_DIR" cd "$REPO_DIR"
@ -47,3 +51,7 @@ systemctl start mmdvmhost
echo "" echo ""
echo "Update complete" echo "Update complete"
systemctl status mmdvmhost --no-pager systemctl status mmdvmhost --no-pager
# Make filesystem read-only again
echo "Making filesystem read-only..."
rpi-ro

Loading…
Cancel
Save

Powered by TurnKey Linux.