forked from TeamKeyblade/android_scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bouncer
executable file
·32 lines (28 loc) · 960 Bytes
/
bouncer
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
if ( ! uname -a | grep -q x86_64 ); then
clear
echo "32-bit OS detected!"
echo "==================="
echo "Running 32-bit isn't necessarily prohibited, but it is not suggested"
echo ""
echo "Side effects may include failure to build properly and lack of support"
echo "for build environment setup"
echo ""
echo "If you see this in error, please notify me at either xda or rootzwiki"
echo "if you prefer email you can reach me at [email protected]"
echo "Press enter to continue.."
read done
fi
homecheck=$( pwd )
if [ $homecheck == $HOME ]; then
clear
echo "Kitchen not set in correct place!"
echo "================================="
echo "Kitchen will not work correctly if placed in home folder, please move"
echo ""
echo "If you see this in error, please notify me at either xda or rootzwiki"
echo "if you prefer email you can reach me at [email protected]"
echo "Press enter to exit.."
read done
kill 0
fi