Altera_Forum
Honored Contributor
14 years agoExecute reboot script with haserl
Hi, I am using haserl for cgi programming and want to reboot my uClinux board through pushing a button on a website. So I thought that I can execute the reboot script like that:
#!/usr/bin/haserl --shell=/bin/hush
Content-type: text/html
<!--
<% if ; then %>
<% /bin/reboot %>
<% fi %>
-->
...
<tr><td colspan="3" class="OptionLabel"><center><input name="Reboot" value="Reboot Now" type="submit">
...
But nothing seems to happen. Urmel