#!/bin/bash echo Content-type: text/plain echo echo "rebooty routeru `hostname`" echo #/bin/more /var/log/secure | /bin/grep listening /usr/bin/last reboot