#!/usr/bin/haserl <% # prepare if [ "$REQUEST_METHOD" = "POST" ] ; then if [ "$POST_reboot" != "" ] ; then do_reboot=1 MSG='Router wird neugestartet...' fi fi %> <%in /www/ssl/cgi-bin/header %> <%in /www/ssl/cgi-bin/helpers %> <% show_msg %>
<%in /www/ssl/cgi-bin/footer %> <% # write if [ "$do_reboot" = "1" ] ; then reboot fi %>