[Android Software/Hacking General [Developers Only]] Ryuinferno:
Aaa...glad to know that...I will help you then...the bold part is first error I saw...and by the way, your coding style makes things hard to debug...you might wanna consider adding spacing...;)...and you might wanna consider reducing the 'sleep' time as it will make the script damn slow, and you like 'anything fast' right? ;)...

EDIT: I think I saw the problem...highlighted in bold...things should be fixed now...:)...you missed a couple of 'fi'

P.s. Next time, please don't remove the credits part of the author, cause if I add it with a GPL or some similar license, removing it will cause you trouble...:o

#!/system/bin/sh
#
#
#===============================
#===============================
# NOS-INJECTION BY EXIT_ONLY ===
#===============================
#===============================
#
#
# This script is based on Seeder Entropy, Heavy modifications were made to seeders code. Huge thanks to all the developers involved in making seeder possible.
# WARNING: DO NOT USE CROSSBREEDER OR SEEDER IN CONJUNCTION WITH NOS ENTROPY. BOOTLOOP, SOFT BRICK, OR HARD BRICK MAY HAPPEN. USE THIS SCRIPT AT YOUR OWN RISK!

clear
echo "";
echo "";
echo "";
echo "";
echo "";
echo "===============================";
echo "= NOS Entropy =";
echo "===============================";
echo "";
echo "===============================";
echo "= Exit_Only @ XDA =";
echo "===============================";
echo "";
echo "Mounting /system as r/w";
echo "";
mount -o rw,remount /system
clear
pgrep rngd > /dev/null
if [ $? -ne 1 ]; then
nos_switch="On"
else
nos_switch="Off"
fi
if [ -e /system/etc/init.d/07_nos_injection_entropy]; then
nos_boot="Yes"
else
nos_boot="No"
fi
sleep 2
echo "";
echo "nos entropy generator???: $nos_switch";
echo "";
echo "Run at first boot???: $nos_boot";
echo "";
sleep 2
echo "";
echo "===============================";
echo "= NOS Entropy Menu =";
echo "===============================";
echo "";
echo "1.] nos entropy generator on or off";
echo "2.] run at boot on or off";
echo "3.] monitor nos entropy";
echo "4.] exit out now";
echo "";
echo -n "select an option = 1 thur 4 ="
echo "";
read option
if [ $option -eq 1 ]; then
if [ $[B]nos_swtich[/B] -ne 1 ]; then
echo "";
echo "Switch nos entropy generator to off...";
echo "";
sleep 2
pkill rngd
echo "";
echo "All Done!";
echo "";
echo "Press the enter key to continue...";
echo "";
read enterKey
nos_entropy
else
echo "";
echo "Switching nos entropy generator to on...";
echo "";
if pgrep qrngd > /dev/null; then
sleep 2
echo "";
echo "qrngd binary already running! nos entropy will NOT start!";
echo "";
echo "Press the enter key to continue...";
echo "";
read enterKey
nos_entropy
else
if [ -e /system/bin/qrngd -o -e /system/xbin/qrngd ]; then
sleep 2
echo "";
echo "qrngd binary found in system partition! nos entropy will NOT start!";
echo "";
echo "Press the enter key to continue...";
echo "";
read enterKey
nos_entropy
else
rngd -t 2 -T 1 -s 256 --fill-watermark=80%
sleep 1
echo -15 > /proc/$(pgrep rngd)/oom_adj
renice 7 `pidof rngd`
echo "";
echo "All Done!";
echo "";
echo "Press the enter key to continue...";
echo "";
read enterKey
nos_entropy
[B]fi
fi[/B]
fi
elif [ $option -eq 2 ]; then
if [ -e /system/etc/init.d/07_nos_injection_entropy]; then
echo "";
echo "Disabling nos_entropy init.d script...";
echo "";
sleep 2
rm /system/etc/init.d/07_nos_injection_entropy
echo "";
echo "All Done!";
echo "";
echo "Press the enter key to continue...";
echo "";
read enterKey
nos_entropy
else
echo "";
echo "Enabling nos_entropy init.d script...";
echo "";
sleep 1
cp /system/etc/nos_scripts/07_nos_injection_entropy /system/etc/init.d/07_nos_injection_entropy
chmod 777 /system/etc/init.d/07_nos_injection_entropy
echo "";
echo "All Done!";
echo "";
echo "Press the enter key to continue...";
echo "";
read enterKey
nos_entropy
fi
elif [ $option -eq 3 ]; then
sleep 2
entro

elif [ $option -eq 4 ]; then
mount -o ro,remount /system
sleep 2
echo "";
echo "===============================";
echo "= NOS Entropy Successful =";
echo "===============================";
echo "";
echo "===============================";
echo "= Exit_Only @ XDA = ";
echo "===============================";
echo "";
exit
else
echo "";
echo "You chose an invalid option, try again...";
echo "";
sleep 1
nos_entropy
fi