diff --git a/README.md b/README.md index d2b0ba4..a720fa9 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,11 @@ cd docker-cyanogenmod ./run.sh ``` +The `run.sh` script accepts the following switches: + +* -p|--privileged - runs the container in privileged mode (this way you can use usb debugging right from the container) +* -r|--rebuild - force rebuild the image from scratch + The container uses "screen" to run the shell. This means that you will be able to open additional shells using [screen keyboard shortcuts][Screen_Shortcuts]. ### How to build CyanogenMod for your device diff --git a/startup.sh b/startup.sh index de3362c..b706fba 100644 --- a/startup.sh +++ b/startup.sh @@ -9,4 +9,5 @@ fi export USER="cmbuild" # Launch screen session -/bin/bash --login +#/bin/bash --login +script -qc "screen -s /bin/bash" /dev/null