#!/bin/sh # start things that should be running find /usr/local/etc/rc.d/ /etc/rc.d/ -type f | egrep -v '(newsyslog|geom|dhclient|ntpdate|devd|sysctl|sendmail|fsck)' | awk '{print $0" status| grep \"is not running\" && "$0" start"}' | sh