class="line">  <span class="keywordflow">return</span> wifiConnected;</div>
<div class="line">}</div>
<div class="line"> </div>
<div class="line"> </div>
<div class="line"><span class="comment">// handle soft restart</span></div>
<div class="line"><span class="keywordtype">void</span> shutdownHandler()</div>
<div class="line">{</div>
<div class="line">  <span class="comment">// save current datetime into Preferences</span></div>
<div class="line">  gettimeofday(&amp;savedTimeValue, <span class="keyword">nul