Last active
July 9, 2017 15:27
-
-
Save marcelog/a3de65c6e1d7f0f3ad8e7180dd6b0f3b to your computer and use it in GitHub Desktop.
run file for running an android emulator instance with daemontools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
exec 2>&1 | |
# These might be needed for your regular user when running it in a remote system | |
chmod a+rw /dev/dri/* | |
chmod a+rw /dev/kvm | |
chmod a+rw /dev/video0 | |
exec setuidgid myemuuser envdir /etc/service/myemu/env /home/myemuuser/android-sdk-linux/tools/emulator -avd myemu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment