--- rc.suspend.orig 2009-11-09 12:27:46.000000000 -0500 +++ rc.suspend 2009-11-09 12:23:53.000000000 -0500 @@ -52,6 +52,9 @@ # suspend and reloading it on resume. Example: # kldunload usb +# run local suspend commands +[ -f /etc/rc.suspend.local ] && . /etc/rc.suspend.local + logger -t $subsystem suspend at `date +'%Y%m%d %H:%M:%S'` sync && sync && sync sleep 3 --- rc.resume.orig 2009-11-09 12:27:38.000000000 -0500 +++ rc.resume 2009-11-09 12:24:06.000000000 -0500 @@ -56,6 +56,9 @@ # the following to signal it to reassociate. # /usr/sbin/wpa_cli reassociate +# run local resume commands +[ -f /etc/rc.resume.local ] && . /etc/rc.resume.local + logger -t $subsystem resumed at `date +'%Y%m%d %H:%M:%S'` sync && sync && sync