]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - etc/rc.resume
Add a comment as to where stdarg.h applies.
[FreeBSD/FreeBSD.git] / etc / rc.resume
1 #!/bin/sh
2 #
3 # $FreeBSD$
4 #
5 # sample run command file for APM Resume Event
6
7 if [ -r /var/run/rc.suspend.pid ]; then
8         kill -9 `cat /var/run/rc.suspend.pid`
9         rm -f /var/run/rc.suspend.pid
10         echo rc.suspend is killed
11 fi
12
13 # Turns on a power supply of a card in the slot inactivated.
14 # See also contrib/pccardq.c (only for PAO users).
15 # pccardq | awk -F '~' '$5 == "inactive" \
16 #       { printf("pccardc power %d 1", $1); }' | sh
17
18 logger -t apmd resumed at `date +'%Y%m%d %H:%M:%S'`
19 sync && sync && sync
20
21 exit 0