Merge pull request #15 from Aluin/master

Removed use of seq command, fixes #11.
This commit is contained in:
Rob Zimmerman 2014-11-10 09:29:04 -05:00
commit 7c0772ce25

View file

@ -87,7 +87,7 @@ then
echo "Quick Mode enabled. Randomly seeding two addresses from full list." echo "Quick Mode enabled. Randomly seeding two addresses from full list."
fi fi
for a in $(seq 1 $num) for ((a=1; a<=$num; a++));
do do
selectedAddr=${Addr[$RANDOM % ${#Addr[@]} ]} selectedAddr=${Addr[$RANDOM % ${#Addr[@]} ]}
echo "Cycling WiFi..." echo "Cycling WiFi..."