pm-utils: add some hooks

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-12-08 07:08:54 +01:00
parent 4ff2d6f223
commit b7b0a15069
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1 @@
SUSPEND_MODULE="jme anysee"

View File

@ -3,8 +3,11 @@
. config/options $1
mkdir -p $INSTALL/etc/pm/config.d
cp $PKG_DIR/config.d/* $INSTALL/etc/pm/config.d || true
mkdir -p $INSTALL/etc/pm/power.d
cp $PKG_DIR/power.d/* $INSTALL/etc/pm/power.d || true
mkdir -p $INSTALL/etc/pm/sleep.d
cp $PKG_DIR/sleep.d/* $INSTALL/etc/pm/sleep.d || true
mkdir -p $INSTALL/usr/bin
cp $PKG_BUILD/src/on_ac_power $INSTALL/usr/bin