]> glassweightruler.freedombox.rocks Git - waydroid.git/blob - scripts/run-container.sh
0010a207e92d78e6f736b62cf5efa2ab58ca3e7d
[waydroid.git] / scripts / run-container.sh
1 #!/bin/bash
2 cd /home/anbox
3
4 # just in case, stop Anbox 7
5 stop anbox-container || true
6 # umount rootfs if it was mounted
7 umount -l rootfs || true
8 ./mount.sh
9
10 # Anbox binder permissions
11 chmod 666 /dev/anbox-*binder
12
13 # Wayland socket permissions
14 chmod 777 /run/user/32011
15 chmod 777 /run/user/32011/wayland-1
16
17 lxc-start -n anbox -F -- /init