From: Matthias Schmidt Date: Thu, 27 Dec 2007 20:00:51 +0000 (+0000) Subject: Enhance the comment X-Git-Tag: v2.0.1~1538 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/61a3fee7656efe171525f638ffff49e78e7826c6 Enhance the comment Obtained-From: FreeBSD --- diff --git a/etc/rc.resume b/etc/rc.resume index 69b940b1fd..3850364639 100644 --- a/etc/rc.resume +++ b/etc/rc.resume @@ -25,7 +25,7 @@ # SUCH DAMAGE. # # $FreeBSD: src/etc/rc.resume,v 1.7 2003/12/30 17:30:39 njl Exp $ -# $DragonFly: src/etc/rc.resume,v 1.3 2004/07/05 00:22:38 dillon Exp $ +# $DragonFly: src/etc/rc.resume,v 1.4 2007/12/27 20:00:51 matthias Exp $ # # sample run command file for APM Resume Event @@ -49,8 +49,8 @@ fi # pccardq | awk -F '~' '$5 == "inactive" \ # { printf("pccardc power %d 1", $1); }' | sh -# UHCI has trouble resuming so we just load/unload it. You -# should add any other kernel modules you want reloaded here. +# If a device driver has problems suspending, try unloading it before +# suspend and reloading it on resume. Example: # kldload usb logger -t $subsystem resumed at `date +'%Y%m%d %H:%M:%S'` diff --git a/etc/rc.suspend b/etc/rc.suspend index 5cf22d9576..b45f34a105 100644 --- a/etc/rc.suspend +++ b/etc/rc.suspend @@ -25,7 +25,7 @@ # SUCH DAMAGE. # # $FreeBSD: src/etc/rc.suspend,v 1.6 2004/01/21 03:03:40 njl Exp $ -# $DragonFly: src/etc/rc.suspend,v 1.3 2004/07/05 00:22:38 dillon Exp $ +# $DragonFly: src/etc/rc.suspend,v 1.4 2007/12/27 20:00:51 matthias Exp $ # # sample run command file for APM Suspend Event @@ -49,8 +49,8 @@ echo $$ 2> /dev/null > /var/run/rc.suspend.pid # pccardq | awk -F '~' '$5 == "filled" && $4 ~ /sio/ \ # { printf("pccardc power %d 0", $1); }' | sh -# UHCI has trouble resuming so we just load/unload it. You -# should add any other kernel modules you want unloaded here. +# If a device driver has problems suspending, try unloading it before +# suspend and reloading it on resume. Example: # kldunload usb logger -t $subsystem suspend at `date +'%Y%m%d %H:%M:%S'`