lirc: remove unused lircd_wakeup_enable script

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2017-12-20 16:27:50 +01:00
parent 8afe90c69f
commit 56bc9f077f
2 changed files with 0 additions and 20 deletions

View File

@ -62,9 +62,6 @@ post_makeinstall_target() {
cp $PKG_DIR/scripts/lircd_helper $INSTALL/usr/lib/libreelec
cp $PKG_DIR/scripts/lircd_uinput_helper $INSTALL/usr/lib/libreelec
mkdir -p $INSTALL/usr/lib/udev
cp $PKG_DIR/scripts/lircd_wakeup_enable $INSTALL/usr/lib/udev
mkdir -p $INSTALL/usr/share/services
cp -P $PKG_DIR/default.d/*.conf $INSTALL/usr/share/services
}

View File

@ -1,17 +0,0 @@
#!/bin/sh
################################################################################
# wakeup_enable
################################################################################
devpath=`readlink -f "/sys/${DEVPATH}"`
while echo "${devpath}" | grep -q '^/sys/devices/' > /dev/null 2>&1 ; do
if test -e "${devpath}/power/wakeup" ; then
state=`cat "${devpath}/power/wakeup"`
if test "x${state}" = "xdisabled" ; then
echo "enabled" > "${devpath}/power/wakeup"
fi
fi
devpath=`dirname "${devpath}"`
done
exit 0