Last active
December 11, 2015 21:19
-
-
Save jstvz/4661740 to your computer and use it in GitHub Desktop.
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
#http://joshashby.com/2011/08/arch-droid/# | |
#quick hack to start up everything for the chrooted Arch | |
if [ "mount | grep proc" ]; then | |
echo "Proc already mounted, skipping..." | |
else | |
mount -t proc proc /proc | |
fi | |
if [ "mount | grep sysfs" ]; then | |
echo "Sysfs already mounted, skipping..." | |
else | |
mount -t sysfs sysfs /sys | |
fi | |
if [ "mount | grep devpts" ]; then | |
echo "Sysfs already mounted, skipping..." | |
else | |
mount /dev/pts | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment