]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
anbox: Make sure anbox-sensord is started anyway
authorErfan Abdi <erfangplus@gmail.com>
Mon, 5 Jul 2021 15:23:45 +0000 (19:53 +0430)
committerErfan Abdi <erfangplus@gmail.com>
Mon, 5 Jul 2021 21:01:00 +0000 (01:31 +0430)
scripts/run-container.sh
scripts/stop-container.sh

index 728805ad19d3cc0f5247350ae82aeb86682fa33e..79042f59dc55544a4c9d95a01e00b795af7b6de9 100644 (file)
@@ -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
index ca54e744b2ec32fea872b1cbd7e1cfcc59177e03..e71c16a6e11f0e42b7bc742489a7158ef3dd40d8 100644 (file)
@@ -2,3 +2,4 @@
 
 lxc-stop -n anbox -k
 /home/anbox/anbox-net.sh stop
+kill `pidof anbox-sensord`