From: Erfan Abdi Date: Mon, 5 Jul 2021 15:23:45 +0000 (+0430) Subject: anbox: Make sure anbox-sensord is started anyway X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/30a3cbd862755b661dfdae688665f06e20085097 anbox: Make sure anbox-sensord is started anyway --- diff --git a/scripts/run-container.sh b/scripts/run-container.sh index 728805a..79042f5 100644 --- a/scripts/run-container.sh +++ b/scripts/run-container.sh @@ -21,7 +21,7 @@ start cgroup-lite umount -l /sys/fs/cgroup/schedtune # start sensors hal -start anbox-sensors +anbox-sensord & # start anbox-net, that sets up lxc bridge /home/anbox/anbox-net.sh start diff --git a/scripts/stop-container.sh b/scripts/stop-container.sh index ca54e74..e71c16a 100644 --- a/scripts/stop-container.sh +++ b/scripts/stop-container.sh @@ -2,3 +2,4 @@ lxc-stop -n anbox -k /home/anbox/anbox-net.sh stop +kill `pidof anbox-sensord`