From 08ef15b7fbdb05e53db06d67ac00e4b88c59af8c Mon Sep 17 00:00:00 2001 From: luka177 Date: Fri, 30 Apr 2021 18:37:55 +0300 Subject: [PATCH] Add some services to stop/start/restart --- scripts/run-container.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/run-container.sh b/scripts/run-container.sh index 0010a20..6bfe06a 100644 --- a/scripts/run-container.sh +++ b/scripts/run-container.sh @@ -3,6 +3,17 @@ cd /home/anbox # just in case, stop Anbox 7 stop anbox-container || true + +# restart cgroupfs-mount, else container may fail to start on some devices +restart cgroupfs-mount + +# stop sensorfw +# NOTE: it is temporary solution, that workes only on halium devices. +stop sensorfw + +# start lxc-net, that sets up lxc bridge +start lxc-net + # umount rootfs if it was mounted umount -l rootfs || true ./mount.sh -- 2.47.3