flectra/addons/point_of_sale/tools/posbox/configuration/posbox_update.sh

7 lines
172 B
Bash
Raw Normal View History

#!/usr/bin/env bash
sudo mount -o remount,rw /
sudo git --work-tree=/home/pi/odoo/ --git-dir=/home/pi/odoo/.git pull
sudo mount -o remount,ro /
(sleep 5 && sudo reboot) &