Created
May 8, 2012 03:00
-
-
Save lrvick/2632221 to your computer and use it in GitHub Desktop.
Revisions
-
lrvick revised this gist
May 8, 2012 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,6 +5,7 @@ cd /data/local/arch if ! mountpoint -q dev; then mount -t proc /proc proc mount -o bind /dev dev mount -o bind /dev/pts dev/pts fi chroot . /bin/bash -c "source /etc/profile; export HOME=/home/${USER}; export TERM=xterm-256color; clear; su - ${USER}" -
lrvick created this gist
May 8, 2012 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ USER='lrvick' cd /data/local/arch if ! mountpoint -q dev; then mount -t proc /proc proc mount -o bind /dev dev fi chroot . /bin/bash -c "source /etc/profile; export HOME=/home/${USER}; export TERM=xterm-256color; clear; su - ${USER}"