From 7e806e47af0448b0567e7345219dfe1e94a1ccaa Mon Sep 17 00:00:00 2001 From: lejeune quentin Date: Mon, 24 Feb 2020 11:12:10 +0000 Subject: [PATCH] [FIX] point_of_sale: Reboot IoT after upgrade For a upgrade the IoT Box perform a "git reset hard" And after we restart odoo. But it is not enough and we need to reboot the IoT Box closes odoo/odoo#46119 X-original-commit: c20a17bf33f13543a331d557d65c5e6f196d46e4 Signed-off-by: Quentin Lejeune (qle) --- .../point_of_sale/tools/posbox/configuration/posbox_update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/point_of_sale/tools/posbox/configuration/posbox_update.sh b/addons/point_of_sale/tools/posbox/configuration/posbox_update.sh index 93f1a003f18..57a54239169 100755 --- a/addons/point_of_sale/tools/posbox/configuration/posbox_update.sh +++ b/addons/point_of_sale/tools/posbox/configuration/posbox_update.sh @@ -25,4 +25,4 @@ done sudo mount -o remount,ro / sudo mount -o remount,rw /root_bypass_ramdisks/etc/cups -(sleep 5 && sudo service odoo restart) & +(sleep 5 && sudo service odoo reboot) &