Files
poky/openembedded/packages/apmd/apmd-3.2.2/apmwrapper
Richard Purdie 4b46c1f6e8 Initial population
git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966
2005-08-31 10:45:47 +00:00

10 lines
200 B
Bash

#!/bin/sh
if ( cat /proc/cpuinfo|grep -i hardware|grep -i SHARP ) && \
[ ".$@" = ".-s" -o ".$@" = ".--suspend" ]; then
killall -USR1 apmd || /usr/bin/apm.orig -s
else
/usr/bin/apm.orig "$@"
fi