From: luka177 Date: Fri, 30 Apr 2021 15:37:55 +0000 (+0300) Subject: Add some services to stop/start/restart X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/08ef15b7fbdb05e53db06d67ac00e4b88c59af8c Add some services to stop/start/restart --- 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