]> glassweightruler.freedombox.rocks Git - waydroid.git/blobdiff - scripts/run-container.sh
anbox: Cleanup lxc configs
[waydroid.git] / scripts / run-container.sh
index 0010a207e92d78e6f736b62cf5efa2ab58ca3e7d..6bfe06a3d18e12dcdf2df2fb2522fedb875e4179 100644 (file)
@@ -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