title: Loop 'svc wifi enable' until wifi is on with Android terminal
body: <p>First question on stackoverflow
  So I got a huawei android phone
  With a bad wifi 
  I should turn on the wifi ≈20 times (from the notification control) so it can turns on
  So I've made a sh file (contains svc wifi enable) and execute it with terminal 
  But I have to run that file for 10 times so the wifi can be enabled 
  Tried this 
  <code>for i in seq 1 50; do sh on $i; done</code>
  ('on' is a file that contains 'svc enable wifi') 
  But same thing I have to run it many times
  So
  I just wanted to make a terminal command with the <strong>while</strong> loop
  I mean:
  While (wifi is disconnected) do (svc wifi enable) until (wifi is connected)
  But I don't know how
  So I'm asking for your help
  Thanks for reading this ❤️</p>