#!/opt/bin/bash

echo Content-type: text/html
echo ""

/bin/cat << EOM
<HTML>
<HEAD><TITLE>Reboot kodi bureau</TITLE>
</HEAD>
<BODY bgcolor="#cccccc" text="#000000">
<P>
<SMALL>
<PRE>
EOM

SERVER=192.168.1.12

echo rebooting
ssh $SERVER reboot

echo done

/bin/cat << EOM
</PRE>
</SMALL>
<P>
</BODY>
</HTML>
EOM


