1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-24 11:26:19 +00:00
Lakka-LibreELEC/projects/L4T/packages/busybox/scripts/ledfix
GavinDarkglider 47c07c60ba
[WIP]Lakka 5.x Switch changes..... (#1853)
* Latest 4.3 changes poorly merged

* Build fixes

* Squash?

* Fix ppsspp on switch

* Fix video recording, add base stuff for nvv4l2 decoder/encoder, but leave disabled for now

* Clean up left over files

* Switch: Dont build xpadneo driver, but install configs

* FFMpeg: Add back L4T decoder Patches
2023-06-10 03:16:27 +03:00

17 lines
435 B
Bash
Executable File

#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv)
# find heartbeat triggers and set them to none
case $(dtsoc) in
amlogic*)
for triggerfile in $(find /sys/devices/platform/leds -name trigger); do
trigger=$(awk -F'[][]' '{print $2}' "$triggerfile")
if [ "$trigger" = "heartbeat" ]; then
echo "none" > "$triggerfile"
fi
done
;;
esac