Browse Source

reimplemeted the bugfix from fabio for redirect ports

Daniel Lazar 7 years ago
parent
commit
0071c52e4c
1 changed files with 3 additions and 1 deletions
  1. 3 1
      assets/payload/redirect-ports.sh

+ 3 - 1
assets/payload/redirect-ports.sh

@@ -10,7 +10,9 @@ destination=( 28144 28169 28217 28580 28274 28275 28276 28159 28160 28582) # sim
 length=${#protocol[@]} # count protocol elements
 
 # for (( i=0; i<$length; i++ ))
-for i in `seq 0 9` # fix for android's annoyingly limited bash
+#for i in `seq 0 9` # fix for android's annoyingly limited bash
+for i in 0 1 2 3 4 5 6 7 8 9 # another fix for devices missing the seq command
+
 do
 	# echo ${protocol[$i]} ${origin[$i]} ${destination[$i]} # debug