clear tput sc echo "Waiting for Android container to preload. If you login now the Android subsystem will crash." while true do if [ $(dmesg | grep "capability: warning: `main' uses 32-bit capabilities (legacy support in use)" | wc -l) -gt 0 ] then tput rc tput ed echo "Android container has finished preloading." echo "You can now login to ChromeOS and run Android apps without problems." exit 0 fi sleep 1 done