Skip to content

Instantly share code, notes, and snippets.

@bmcgavin
bmcgavin / init.sh
Created May 20, 2012 21:24 — forked from lrvick/init.sh
Chrooted Arch Linux environment setup script for Android
USER='lrvick'
cd /data/local/arch
if ! mountpoint -q dev; then
mount -t proc /proc proc
mount -o bind /dev dev
mount -o bind /dev/pts /data/local/arch/dev/pts
fi