<br>Thanks David.Solves most of my intial queries now.I will write the code ,test it on the device and get back.<br><br>Regards<br>Sriranjan<br><div class="gmail_quote">On Fri, Jul 17, 2009 at 12:15 AM, David Ford <span dir="ltr">&lt;<a href="mailto:david@blue-labs.org">david@blue-labs.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">an orderly /sbin/reboot usually works, if your process is still running<br>
after a minute, do a sync and forcibly reboot via the kernel.<br>
<br>
how to forcibly reboot a linux server:<br>
   enable sysrq:<br>
     echo 1 &gt; /proc/sys/kernel/sysrq<br>
<br>
     reboot:    echo b &gt; /proc/sysrq-trigger<br>
     poweroff:  echo o &gt; /proc/sysrq-trigger<br>
<div class="im"><br>
RANJAN wrote:<br>
&gt; On more query.If I have to see that the system works robustly is there<br>
&gt; a way that I can do an automated system restart with application<br>
&gt; restart as well including the GSM service which is required for<br>
&gt; sending the SMS?<br>
<br>
<br>
</div><div><div></div><div class="h5">_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@lists.openmoko.org">devel@lists.openmoko.org</a><br>
<a href="https://lists.openmoko.org/mailman/listinfo/devel" target="_blank">https://lists.openmoko.org/mailman/listinfo/devel</a><br>
</div></div></blockquote></div><br>