mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
lirc: remove unused lircd_wakeup_enable script
Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
8afe90c69f
commit
56bc9f077f
@ -62,9 +62,6 @@ post_makeinstall_target() {
|
|||||||
cp $PKG_DIR/scripts/lircd_helper $INSTALL/usr/lib/libreelec
|
cp $PKG_DIR/scripts/lircd_helper $INSTALL/usr/lib/libreelec
|
||||||
cp $PKG_DIR/scripts/lircd_uinput_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
|
mkdir -p $INSTALL/usr/share/services
|
||||||
cp -P $PKG_DIR/default.d/*.conf $INSTALL/usr/share/services
|
cp -P $PKG_DIR/default.d/*.conf $INSTALL/usr/share/services
|
||||||
}
|
}
|
||||||
|
@ -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
|
|
Loading…
x
Reference in New Issue
Block a user