5 # sample run command file for APM Suspend Event
7 if [ -r /var/run/rc.suspend.pid ]; then
11 echo $$ > /var/run/rc.suspend.pid
13 # If you have troubles on suspending with PC-CARD modem, try this.
14 # See also contrib/pccardq.c (Only for PAO users).
15 # pccardq | awk -F '~' '$5 == "filled" && $4 ~ /sio/ \
16 # { printf("pccardc power %d 0", $1); }' | sh
18 logger -t apmd suspend at `date +'%Y%m%d %H:%M:%S'`
22 rm -f /var/run/rc.suspend.pid